A custom build of dwm (from suckless.org).
- C 92.7%
- Roff 5.2%
- Makefile 2%
| patches | ||
| build.sh | ||
| config.def.h | ||
| config.mk | ||
| drw.c | ||
| drw.h | ||
| dwm.1 | ||
| dwm.c | ||
| dwm.png | ||
| LICENSE | ||
| Makefile | ||
| ReadMe.md | ||
| transient.c | ||
| util.c | ||
| util.h | ||
dwm
This is Pete Hinchley's fork of dwm: https://dwm.suckless.org
Changes
It is based on version 6.5 of dwm with the following patches:
- fullgaps: https://dwm.suckless.org/patches/fullgaps/
- hide vacant tags: https://dwm.suckless.org/patches/hide_vacant_tags/
- bottom stack: https://dwm.suckless.org/patches/bottomstack/
- attach above: https://dwm.suckless.org/patches/attachabove/
- swallow: https://dwm.suckless.org/patches/swallow/
- inplace rotate: https://dwm.suckless.org/patches/inplacerotate/
- always center: https://dwm.suckless.org/patches/alwayscenter/
- xrdb: https://dwm.suckless.org/patches/xrdb/
- status2d (with bar padding): https://dwm.suckless.org/patches/status2d/
It also includes the following personal customisations:
- Dracula colour theme: https://github.com/dracula/dwm/
Dependencies
This fork makes a few assumptions:
- The use of the Ghostty terminal: https://ghostty.org/
- The use of dmenu: https://tools.suckless.org/dmenu/
- Volume is controlled using Alsamixer.
- Display brightness is controlled using xbright: https://github.com/snobb/xbright
Shortcuts
Mod is set to Super (Windows key).
| Action | Key Combination |
|---|---|
| Open ghostty | mod + shift + enter |
| Open dmenu | mod + p |
| Increase gaps | mod + = |
| Decreate gaps | mod + - |
| Remove gaps | mod + shift + = |
| Toggle bar | mod + b |
| Tiled layout | mod + t |
| Floating layout | mod + f |
| Monocle layout | mod + m |
| Bottom layout | mod + u |
| Bottom horizontal layout | mod + o |
| Toggle layout | mod + space |
| Increase masters | mod + i |
| Decrease masters | mod + d |
| Next window | mod + j |
| Previous window | mod + k |
| Rotate master/stack down | mod + shift + j |
| Rotate master/stack up | mod + shift + k |
| Rotate all down | mod + shift + h |
| Rotate all up | mod + shift + l |
| Decrease master size | mod + h |
| Increase master size | mod + l |
| Toggle master | mod + enter |
| Close window | mod + c |
| Switch to tag n | mod + n |
| Switch to last tag | mod + tab |
| Move window to tag n | mod + shift + n |
| Reload .Xresources | mod + F5 |
| Quit dwm | mod + shift + q |
Build
To build and install dwm:
git clone https://github.com/hinchley/dwm.git
cd dwm
./build.sh