aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README37
1 files changed, 10 insertions, 27 deletions
diff --git a/README b/README
index 5915a27..2aecc78 100644
--- a/README
+++ b/README
@@ -1,11 +1,12 @@
1dwm - dynamic window manager 1dmenu - dynamic menu
2---------------------------- 2--------------------
3dwm is an extremely fast, small, and dynamic X11 window manager. 3dwm is a generic, highly customizable, and efficient menu for the X Window
4System.
4 5
5 6
6Requirements 7Requirements
7------------ 8------------
8In order to build dwm you need the Xlib header files. 9In order to build dmenu you need the Xlib header files.
9 10
10 11
11Installation 12Installation
@@ -13,36 +14,18 @@ Installation
13Edit config.mk to match your local setup (dwm is installed into 14Edit config.mk to match your local setup (dwm is installed into
14the /usr/local namespace by default). 15the /usr/local namespace by default).
15 16
16Afterwards enter the following command to build and install dwm (if 17Afterwards enter the following command to build and install dmenu (if
17necessary as root): 18necessary as root):
18 19
19 make clean install 20 make clean install
20 21
21 22
22Running dwm 23Running dmenu
23----------- 24-------------
24Add the following line to your .xinitrc to start dwm using startx: 25See the man page for details.
25
26 exec dwm
27
28In order to connect dwm to a specific display, make sure that
29the DISPLAY environment variable is set correctly, e.g.:
30
31 DISPLAY=foo.bar:1 exec dwm
32
33(This will start dwm on display :1 of the host foo.bar.)
34
35In order to display status info in the bar, you can do something
36like this in your .xinitrc:
37
38 while true
39 do
40 echo `date` `uptime | sed 's/.*://; s/,//g'`
41 sleep 1
42 done | dwm
43 26
44 27
45Configuration 28Configuration
46------------- 29-------------
47The configuration of dwm is done by creating a custom config.h 30The configuration of dmenu is done by creating a custom config.h
48and (re)compiling the source code. 31and (re)compiling the source code.