Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
s/sleep 5/sleep 2/
[dwm.git]
/
README
diff --git
a/README
b/README
index
c8e24ef
..
89f7dba
100644
(file)
--- a/
README
+++ b/
README
@@
-1,6
+1,5
@@
-dwm
-------
-
+dwm - dynamic window manager
+----------------------------
dwm is an extremly fast, small, and dynamic X11 window manager.
dwm is an extremly fast, small, and dynamic X11 window manager.
@@
-21,7
+20,7
@@
necessary as root):
Running dwm
Running dwm
------------
---
+-----------
Add the following line to your .xinitrc to start dwm using startx:
exec dwm
Add the following line to your .xinitrc to start dwm using startx:
exec dwm
@@
-34,7
+33,18
@@
the DISPLAY environment variable is set correctly, e.g.:
This will start dwm on display :1 of the host foo.bar.
This will start dwm on display :1 of the host foo.bar.
+Displaying status info
+----------------------
+In order to display status info in the bar, you can do following
+in .xinitrc:
+
+ while true
+ do
+ echo `date` `uptime | sed 's/.*://; s/,//g'`
+ sleep 2
+ done | dwm
+
Configuration
-------------
Configuration
-------------
-The configuration of dwm is done by customizing
the wm.h source file. To
-
customize the key bindings edit kb.c
.
+The configuration of dwm is done by customizing
source code,
+
grep for CUSTOMIZE keyword
.