See also
Clone and build dwm
git clone https://github.com/lnhrnndz/dwm
cd dwm
sudo make install
Add the following at the bottom of your .xinitrc
exec dbus-run-session dwm
Start X
startx
Exit with
pkill dwm
keybinding | description |
---|---|
super + shift + return |
spawn new st |
super + p |
run dmenu |
super + j|k |
focus window below or above on stack |
super + shift + j|k |
move focused window down or up the stack |
super + return |
swap master and focused window |
super + [1..n] |
view all windows with nth tag |
super + shift + [1..n] |
apply nth tag to focused window |
super + control + [1..n] |
add/remove all windows with nth tag to/from the view |
super + shift + control + [1..9] |
add/remove tag to focused window |
super + shift + space |
toggle window floating |
super + [arrow key] |
move floating window |
super + shift + [arrow key] |
resize floating window |
super + t |
tiling layout |
super + m |
monocle layout |
super + f |
floating layout |
super + r |
deck layout |
super + y |
toggle fullscreen mode |
super + shift + [arrow key] |
resize floating window |
super + F5 |
reload colors form xresources |
super + shift + r |
reload dwm (without quitting) |
- gaps
- attachbottom
- pertag
- movestack
- alwayscenter
- moveresize
- restartsig
- xrdb
- togglefullscreen
- deck layout (+ deck-tilegap)
Edit and move xinit.desktop
to /usr/share/xsessions/
to have a desktop entry
that runs your .xinitrc
.