Mercurial > hg > index.fcgi > dwm > dwm-3.6.1-12pba
diff README @ 0:7024076fa948
initial add
author | paulo@localhost |
---|---|
date | Sun, 22 Mar 2009 23:26:35 -0700 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/README Sun Mar 22 23:26:35 2009 -0700 1.3 @@ -0,0 +1,48 @@ 1.4 +dwm - dynamic window manager 1.5 +============================ 1.6 +dwm is an extremely fast, small, and dynamic window manager for X. 1.7 + 1.8 + 1.9 +Requirements 1.10 +------------ 1.11 +In order to build dwm you need the Xlib header files. 1.12 + 1.13 + 1.14 +Installation 1.15 +------------ 1.16 +Edit config.mk to match your local setup (dwm is installed into 1.17 +the /usr/local namespace by default). 1.18 + 1.19 +Afterwards enter the following command to build and install dwm (if 1.20 +necessary as root): 1.21 + 1.22 + make clean install 1.23 + 1.24 + 1.25 +Running dwm 1.26 +----------- 1.27 +Add the following line to your .xinitrc to start dwm using startx: 1.28 + 1.29 + exec dwm 1.30 + 1.31 +In order to connect dwm to a specific display, make sure that 1.32 +the DISPLAY environment variable is set correctly, e.g.: 1.33 + 1.34 + DISPLAY=foo.bar:1 exec dwm 1.35 + 1.36 +(This will start dwm on display :1 of the host foo.bar.) 1.37 + 1.38 +In order to display status info in the bar, you can do something 1.39 +like this in your .xinitrc: 1.40 + 1.41 + while true 1.42 + do 1.43 + echo `date` `uptime | sed 's/.*,//'` 1.44 + sleep 1 1.45 + done | dwm 1.46 + 1.47 + 1.48 +Configuration 1.49 +------------- 1.50 +The configuration of dwm is done by creating a custom config.h 1.51 +and (re)compiling the source code.