Giter Club home page Giter Club logo

dwm's Introduction

Binette's build of dwm

Dwm is an extremely fast, small, and dynamic window manager. This is my build of dwm with only a few patches, feel free to visit the suckless website and add the patches you want (rename the config.h to config.def.h before applying a patch).

Screenshot of my desktop

Patches list

  • alwayscenter (floating client will always be in the middle of the screen)
  • attachbelow (open new client below the focused one)
  • bar-height-spacing (adjust bar's height)
  • colorfultags (add different colors to every tags)
  • cursorwarp (cursor will be on the focus client)
  • fixborders (make client's border opaque with compositor)
  • fullgaps (add gaps)
  • fullscreen-compilation (i added a line to fix fakefullscreen issues with chromium based browser. Thanks to bakkeby)
  • movestack (move client in the stack)
  • noborder (no border and no gaps when there's only one client)
  • pertag (keep the layout per tag instead of per monitor)
  • scratchpads (spawn and hide a floating terminal window)
  • status2d (add colors to status bar)
  • statusallmons (status bar on all monitor)
  • underlinetags (add line under tags when selected)

Dependencies

  • st
  • dmenu
  • slstatus (status bar)

Keybinding

The MODKEY is set to the Super key (aka the Windows key).

Keybinding Action
MODKEY + RETURN opens terminal
ALT + t opens terminal in scratchpad
MODKEY + d opens dmenu
MODKEY + q closes focused window
MODKEY + SHIFT + Delete quits dwm
MODKEY + 1-7 switch focus to workspace
MODKEY + SHIFT + 1-7 send focused window to workspace
MODKEY + j switches focus between windows in the stack
MODKEY + k switches focus between windows in the stack
MODKEY + SHIFT + l rotates the windows in the stack
MODKEY + SHIFT + h rotates the windows in the stack
MODKEY + l expands size of window
MODKEY + h shrinks size of window
MODKEY + comma switches focus next monitors
MODKEY + period switches focus to prev monitors

Installation

Clone this repo git clone https://github.com/Binetto/dwm.git, edit the config.h file and run doas/sudo make install. Everytime you edit the config file, you need to recompile doas/sudo make clean install.

On Nixos with flake enabled, add this to your configuration file:

# flake.nix
inputs = {
  dwm = { url = "github:binettexyz/dwm"; flake = false; };
};
# configuration.nix
{ inputs, ... }:
let
  dwm = pkgs.callPackage (inputs.dwm + "/default.nix") {};
in {
  environment.systemPackages = with pkgs; [
    dwm
  ];
}

dwm's People

Contributors

binettexyz avatar masdonte avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.