dwm-meillo

annotate README @ 146:f328ce9c558c

centralized/externalized configuration to config.h
author arg@10ksloc.org
date Tue, 01 Aug 2006 13:59:13 +0200
parents 36cabfe408cd
children a011f447af88
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
garbeam@0 19 make clean install
garbeam@0 20
arg@146 21 If you want to use a customized config.h, you can use the following
arg@146 22 command for installing dwm:
arg@146 23
arg@146 24 make CONFIG=<your-config>.h clean install
arg@146 25
garbeam@0 26
garbeam@34 27 Running dwm
garbeam@37 28 -----------
garbeam@34 29 Add the following line to your .xinitrc to start dwm using startx:
garbeam@0 30
garbeam@34 31 exec dwm
garbeam@0 32
garbeam@34 33 In order to connect dwm to a specific display, make sure that
garbeam@0 34 the DISPLAY environment variable is set correctly, e.g.:
garbeam@0 35
garbeam@34 36 DISPLAY=foo.bar:1 exec dwm
garbeam@0 37
garbeam@34 38 This will start dwm on display :1 of the host foo.bar.
garbeam@0 39
garbeam@0 40
arg@132 41 Displaying status info
arg@132 42 ----------------------
arg@143 43 In order to display status info in the bar, you can do something
arg@143 44 like this in your .xinitrc:
arg@132 45
arg@132 46 while true
arg@132 47 do
arg@132 48 echo `date` `uptime | sed 's/.*://; s/,//g'`
arg@143 49 sleep 1
arg@135 50 done | dwm
arg@132 51
arg@143 52
garbeam@0 53 Configuration
garbeam@0 54 -------------
arg@146 55 The configuration of dwm is done by editing config.h.