Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
updated dwm.html
[dwm.git]
/
README
diff --git
a/README
b/README
index
22d386e
..
883ddd1
100644
(file)
--- a/
README
+++ b/
README
@@
-1,6
+1,6
@@
dwm - dynamic window manager
----------------------------
dwm - dynamic window manager
----------------------------
-dwm is an extremly fast, small, and dynamic X11 window manager.
+dwm is an extrem
e
ly fast, small, and dynamic X11 window manager.
Requirements
Requirements
@@
-10,12
+10,13
@@
In order to build dwm you need the Xlib header files.
Installation
------------
Installation
------------
-Edit config.mk to match your local setup
.
dwm is installed into
-the /usr/local namespace by default.
+Edit config.mk to match your local setup
(
dwm is installed into
+the /usr/local namespace by default
)
.
Afterwards enter the following command to build and install dwm (if
necessary as root):
Afterwards enter the following command to build and install dwm (if
necessary as root):
+ cp config.default.h config.h
make clean install
make clean install
@@
-30,27
+31,18
@@
the DISPLAY environment variable is set correctly, e.g.:
DISPLAY=foo.bar:1 exec dwm
DISPLAY=foo.bar:1 exec dwm
-This will start dwm on display :1 of the host foo.bar.
+(This will start dwm on display :1 of the host foo.bar.)
+In order to display status info in the bar, you can do something
+like this in your .xinitrc:
-Displaying status info
-----------------------
-In order to display status info in the bar, you can do following
-in .xinitrc:
-
- $HOME/.dwm/status | dwm
-
-Assumed $HOME/.dwm/status is an executable script like:
-
- #!/bin/sh
while true
do
echo `date` `uptime | sed 's/.*://; s/,//g'`
while true
do
echo `date` `uptime | sed 's/.*://; s/,//g'`
- sleep
5
- done
+ sleep
1
+ done
| dwm
Configuration
-------------
Configuration
-------------
-The configuration of dwm is done by customizing source code,
-grep for CUSTOMIZE keyword.
+The configuration of dwm is done by editing config.h.