aewl

annotate README @ 167:c11f86db4550

removed config.h (stupid hg)
author arg@10ksloc.org
date Wed, 02 Aug 2006 16:52:02 +0200
parents a011f447af88
children 697715541a25
rev   line source
garbeam@37 1 dwm - dynamic window manager
garbeam@37 2 ----------------------------
arg@143 3 dwm is an extremely fast, small, and dynamic X11 window manager.
garbeam@17 4
garbeam@17 5
garbeam@0 6 Requirements
garbeam@0 7 ------------
garbeam@34 8 In order to build dwm you need the Xlib header files.
garbeam@0 9
garbeam@0 10
garbeam@0 11 Installation
garbeam@0 12 ------------
arg@143 13 Edit config.mk to match your local setup (dwm is installed into
arg@143 14 the /usr/local namespace by default).
garbeam@0 15
garbeam@34 16 Afterwards enter the following command to build and install dwm (if
garbeam@0 17 necessary as root):
garbeam@0 18
arg@166 19 cp config.default.h config.h
garbeam@0 20 make clean install
garbeam@0 21
garbeam@0 22
garbeam@34 23 Running dwm
garbeam@37 24 -----------
garbeam@34 25 Add the following line to your .xinitrc to start dwm using startx:
garbeam@0 26
garbeam@34 27 exec dwm
garbeam@0 28
garbeam@34 29 In order to connect dwm to a specific display, make sure that
garbeam@0 30 the DISPLAY environment variable is set correctly, e.g.:
garbeam@0 31
garbeam@34 32 DISPLAY=foo.bar:1 exec dwm
garbeam@0 33
arg@154 34 (This will start dwm on display :1 of the host foo.bar.)
garbeam@0 35
arg@143 36 In order to display status info in the bar, you can do something
arg@143 37 like this in your .xinitrc:
arg@132 38
arg@132 39 while true
arg@132 40 do
arg@132 41 echo `date` `uptime | sed 's/.*://; s/,//g'`
arg@143 42 sleep 1
arg@135 43 done | dwm
arg@132 44
arg@143 45
garbeam@0 46 Configuration
garbeam@0 47 -------------
arg@146 48 The configuration of dwm is done by editing config.h.