Mercurial > hg > index.fcgi > dwm > dwm-3.6.1-12pba
annotate README @ 7:162accc5d36d
remove cascade layout
author | paulo@thepaulopc |
---|---|
date | Tue, 14 Jun 2011 00:03:39 -0700 |
parents | |
children |
rev | line source |
---|---|
paulo@0 | 1 dwm - dynamic window manager |
paulo@0 | 2 ============================ |
paulo@0 | 3 dwm is an extremely fast, small, and dynamic window manager for X. |
paulo@0 | 4 |
paulo@0 | 5 |
paulo@0 | 6 Requirements |
paulo@0 | 7 ------------ |
paulo@0 | 8 In order to build dwm you need the Xlib header files. |
paulo@0 | 9 |
paulo@0 | 10 |
paulo@0 | 11 Installation |
paulo@0 | 12 ------------ |
paulo@0 | 13 Edit config.mk to match your local setup (dwm is installed into |
paulo@0 | 14 the /usr/local namespace by default). |
paulo@0 | 15 |
paulo@0 | 16 Afterwards enter the following command to build and install dwm (if |
paulo@0 | 17 necessary as root): |
paulo@0 | 18 |
paulo@0 | 19 make clean install |
paulo@0 | 20 |
paulo@0 | 21 |
paulo@0 | 22 Running dwm |
paulo@0 | 23 ----------- |
paulo@0 | 24 Add the following line to your .xinitrc to start dwm using startx: |
paulo@0 | 25 |
paulo@0 | 26 exec dwm |
paulo@0 | 27 |
paulo@0 | 28 In order to connect dwm to a specific display, make sure that |
paulo@0 | 29 the DISPLAY environment variable is set correctly, e.g.: |
paulo@0 | 30 |
paulo@0 | 31 DISPLAY=foo.bar:1 exec dwm |
paulo@0 | 32 |
paulo@0 | 33 (This will start dwm on display :1 of the host foo.bar.) |
paulo@0 | 34 |
paulo@0 | 35 In order to display status info in the bar, you can do something |
paulo@0 | 36 like this in your .xinitrc: |
paulo@0 | 37 |
paulo@0 | 38 while true |
paulo@0 | 39 do |
paulo@0 | 40 echo `date` `uptime | sed 's/.*,//'` |
paulo@0 | 41 sleep 1 |
paulo@0 | 42 done | dwm |
paulo@0 | 43 |
paulo@0 | 44 |
paulo@0 | 45 Configuration |
paulo@0 | 46 ------------- |
paulo@0 | 47 The configuration of dwm is done by creating a custom config.h |
paulo@0 | 48 and (re)compiling the source code. |