Forked from https://git.suckless.org/dwm/ with my patches:
In order to build dwm, the libX11, libXft and libXinerama header files are required.
git clone https://github.com/icanalesm/dwm.git
cd dwm
make
sudo make install
Add the following line at the end of ~/.xinitrc
to start dwm using startx
:
exec dwm
My dotfiles repo contains the scripts used in config.h
, files for setting terminal colors, default fonts and my .xinitrc
file, among other things.
In config.h
:
- Fonts
- Tags and layout: Font Awesome (to get the glyph codes, check the cheatsheet)
- Key bindings
dmenu
: my fork of dmenu- Terminal: my fork of st
- Volume control: amixer via uictl
- Backlight control: brightctl via uictl
- Status: tstat via uictl
- Screenshots: my script (requires ImageMagick)
- Monitor configuration: my script
Useful tools for configuration:
xev
to get the key codes for multimedia keys.xfontsel
to get the name of fonts.xfd
to get the unicode code of characters.xprop
to get properties of clients for dwm rules.
Notice that tstat
only sets or prints to stdout the status. I manually update the status bar by pressing MODKEY
+Shift
+b
. To automatically update the status, tstat
can be put in a shell script:
while true; do
tstat set
sleep 1
done