garbeam@37: dwm - dynamic window manager
arg@497: ============================
arg@316: dwm is an extremely fast, small, and dynamic window manager for X.
garbeam@17: 
garbeam@17: 
garbeam@0: Requirements
garbeam@0: ------------
garbeam@34: In order to build dwm you need the Xlib header files.
garbeam@0: 
garbeam@0: 
garbeam@0: Installation
garbeam@0: ------------
arg@143: Edit config.mk to match your local setup (dwm is installed into
arg@143: the /usr/local namespace by default).
garbeam@0: 
arg@172: Afterwards enter the following command to build and install dwm (if
garbeam@0: necessary as root):
garbeam@0: 
garbeam@0:     make clean install
garbeam@0: 
garbeam@0: 
garbeam@34: Running dwm
garbeam@37: -----------
garbeam@34: Add the following line to your .xinitrc to start dwm using startx:
garbeam@0: 
garbeam@34:     exec dwm
garbeam@0: 
garbeam@34: In order to connect dwm to a specific display, make sure that
garbeam@0: the DISPLAY environment variable is set correctly, e.g.:
garbeam@0: 
garbeam@34:     DISPLAY=foo.bar:1 exec dwm
garbeam@0: 
arg@154: (This will start dwm on display :1 of the host foo.bar.)
garbeam@0: 
arg@143: In order to display status info in the bar, you can do something
arg@143: like this in your .xinitrc:
arg@132: 
arg@132:     while true
arg@132:     do
arg@503:         echo `date` `uptime | sed 's/.*,//'`
arg@143:         sleep 1
arg@135:     done | dwm
arg@132: 
arg@143: 
garbeam@0: Configuration
garbeam@0: -------------
arg@174: The configuration of dwm is done by creating a custom config.h
arg@174: and (re)compiling the source code.