Skip to content

kebairia/dwm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My dwm (dynamic window manager) build

Screenshots of my personal dwm build. img/img1.png img/img2.png img/img3.png dwm is an extremely fast, small, and dynamic window manager for X.

dwm is created by the suckless.org community. The patches I added to this build include:

  • restartsig (allows dwm to be restarted with a keybinding)
  • actualfullscreen (toggle fullscreen for a window, instead of toggling the status bar and the monocle layout)
  • moveresize (allows you to move and resize dwm’s clients using keyboard bindings)
  • noborder (Remove the border when there is only one window visible)
  • scratchpads (enables multiple scratchpads, the same scratchpad workflow in i3)

Dependencies

  • libxft or libxft-bgra (needed for colored emojis)
  • ttf-fira-sans
  • ttf-font-awesome (version 5)
  • ttf-joypixels
  • st (suckless terminal, checkout my personal build HERE)
  • slstatus (suckless status bar)
  • dmenu (app launcher)

Also, if you are building this on an Ubuntu-based system, you need to install libx11-dev and xorg-dev.

Installing dwm on Arch Linux

All you need to do is download this repository. Then run the following command:

git clone https://www.github.com/kebairia/dwm
cd dwm
sudo make install clean

NOTE: Installing dwm will overwrite your existing dwm installation.

My Keybindings

The MODKEY is set to the Super key (aka the Windows key). I try to keep the keybindings consistent with all of my window managers, but if you several of my window manager configs, there may be some discrepancies between them.

KeybindingAction
MODKEY + RETURNopens terminal (st is the terminal but can be easily changed)
MODKEY + popens run launcher (dmenu is the run launcher but can be easily changed)
MODKEY + SHIFT + rrestarts dwm
MODKEY + SHIFT + qquits dwm
MODKEY + 1-9switch focus to workspace (1-9)
MODKEY + SHIFT + 1-9send focused window to workspace (1-9)
MODKEY + jfocus stack +1 (switches focus between windows in the stack)
MODKEY + kfocus stack -1 (switches focus between windows in the stack)
MODKEY + SHIFT + jmove window downwards
MODKEY + SHIFT + kmove window upwards
MODKEY + SHIFT + lmove window to the right
MODKEY + SHIFT + hmove focused window to the left
MODKEY + SHIFT + CTRL + jexpands size of window (horizontally)
MODKEY + SHIFT + CTRL + kshrinks size of window (horizontally)
MODKEY + SHIFT + CTRL + hexpands size of window (vertically)
MODKEY + SHIFT + CTRL + lshrinks size of window (vertically)
MODKEY + otoggle my general scratchpad
MODKEY + mtoggle my music scratchpad
MODKEY + qtoggle my calc scratchpad

Running dwm

If you do not use a login manager (such as lightdm) then you can add the following line to your .xinitrc to start dwm using startx:

exec dwm

If you use a login manager (like lightdm), make sure that you have a file called dwm.desktop in your usr/share/xsessions directory. It should look something like this:

[Desktop Entry]
Encoding=UTF-8
Name=Dwm
Comment=Dynamic window manager
Exec=dwm
Icon=dwm
Type=XSession

Configuring dwm

If you downloaded the source and built my dwm build yourself, then the source in the directory that you downloaded. The configuration of dwm is done by editng the config.h and (re)compiling the source code.

sudo make install

About

my dwm build

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published