aewl

annotate README @ 778:7ea91d4d0882

rename eprint() -> die()
author meillo@marmaro.de
date Mon, 16 Feb 2009 16:18:25 +0100
parents 4dbdb61c8b8c
children 743061dbe7f2
rev   line source
garbeam@37 1 dwm - dynamic window manager
arg@497 2 ============================
arg@316 3 dwm is an extremely fast, small, and dynamic window manager for X.
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
arg@172 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
garbeam@0 21
garbeam@34 22 Running dwm
garbeam@37 23 -----------
garbeam@34 24 Add the following line to your .xinitrc to start dwm using startx:
garbeam@0 25
garbeam@34 26 exec dwm
garbeam@0 27
garbeam@34 28 In order to connect dwm to a specific display, make sure that
garbeam@0 29 the DISPLAY environment variable is set correctly, e.g.:
garbeam@0 30
garbeam@34 31 DISPLAY=foo.bar:1 exec dwm
garbeam@0 32
arg@154 33 (This will start dwm on display :1 of the host foo.bar.)
garbeam@0 34
arg@143 35 In order to display status info in the bar, you can do something
arg@143 36 like this in your .xinitrc:
arg@132 37
arg@132 38 while true
arg@132 39 do
arg@503 40 echo `date` `uptime | sed 's/.*,//'`
arg@143 41 sleep 1
arg@135 42 done | dwm
arg@132 43
arg@143 44
garbeam@0 45 Configuration
garbeam@0 46 -------------
arg@174 47 The configuration of dwm is done by creating a custom config.h
arg@174 48 and (re)compiling the source code.