README (1420B)
1 This is my current configuration of DWM. Please note, if you are 2 recreating this then you will likely of benefit by adding the 3 following to your .xinitrc file so you are able to reload on the 4 fly without killing your xsession and losing all windows. 5 6 ``` 7 while type dwm >/dev/null ; do dwm && continue || break ; done 8 ``` 9 10 11 dwm - dynamic window manager 12 ============================ 13 dwm is an extremely fast, small, and dynamic window manager for X. 14 15 16 Requirements 17 ------------ 18 In order to build dwm you need the Xlib header files. 19 20 21 Installation 22 ------------ 23 Edit config.mk to match your local setup (dwm is installed into 24 the /usr/local namespace by default). 25 26 Afterwards enter the following command to build and install dwm (if 27 necessary as root): 28 29 make clean install 30 31 32 Running dwm 33 ----------- 34 Add the following line to your .xinitrc to start dwm using startx: 35 36 exec dwm 37 38 In order to connect dwm to a specific display, make sure that 39 the DISPLAY environment variable is set correctly, e.g.: 40 41 DISPLAY=foo.bar:1 exec dwm 42 43 (This will start dwm on display :1 of the host foo.bar.) 44 45 In order to display status info in the bar, you can do something 46 like this in your .xinitrc: 47 48 while xsetroot -name "`date` `uptime | sed 's/.*,//'`" 49 do 50 sleep 1 51 done & 52 exec dwm 53 54 55 Configuration 56 ------------- 57 The configuration of dwm is done by creating a custom config.h 58 and (re)compiling the source code.