This is my personal fork of dwm by suckless.
Unlike most dwm forks, this fork is aims to be more minimal compared to the original, by removing features that should be taken care of by more specialised tools. To date, it's smaller by about 1000 SLOC compared to upstream dwm.
- Reorganised repository structure for simplicity.
- Removed useless files, like the manpage or the icon.
- Merged several disparate files into one file for simplicity.
- Removed the bar. There are lots of good bars available, and you should use those.
- Removed mouse support. There is no point in mouse support for tiling WMs.
- Removed floating (NULL) layout. Use a floating window manager.
- Removed support for drawing and fonts. Window managers should just manage windows, not drawing.
- Simplified several data structures.
- Added bstackhoriz layout to better support vertical monitors.
- Receive configuration through Xresources.
- Removed keyboard support and replaced it with IPC through FIFO.
- Remove
config.h
support.
- Removing all remaining uses of calloc. All memory required should be allocated statically.
- Use the more modern
xcb
library instead ofxlib
. - Improve documentation.
- Port to a lisp. :)
- Xlib header files
Build:
make all
Place the dwm
binary somewhere in your PATH
mv bin/dwm /usr/local/bin
Add the following line to your .xinitrc to start dwm using startx:
exec dwm
Edit the src/config.h
file.