Wednesday, March 26, 2014

configure dwm on FreeBSD

portsnap fetch update
cd /usr/ports/x11-wm/dwm/
make deinstall
make install

find . -name config.h
cp work/dwm-6.0/config.h .

make deinstall
make clean
change config.h

- #define MODKEY Mod1Mask
+ #define MODKEY Mod4Mask

make DWM_CONF=`pwd`/config.h install clean

pkg lock dwm

1 comment:

Anonymous said...

Thanks very much for this - exactly what I was looking for.