Xinqi Bao's Git
projects
/
dwm.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
ba59bc8
)
added a note how to achieve status info in the bar
author
[email protected]
<unknown>
Fri, 21 Jul 2006 07:59:11 +0000
(09:59 +0200)
committer
[email protected]
<unknown>
Fri, 21 Jul 2006 07:59:11 +0000
(09:59 +0200)
README
diff
|
blob
|
history
diff --git
a/README
b/README
index
a17b82a
..
22d386e
100644
(file)
--- a/
README
+++ b/
README
@@
-1,6
+1,5
@@
dwm - dynamic window manager
----------------------------
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.
@@
-34,6
+33,23
@@
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:
+
+ $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'`
+ sleep 5
+ done
+
+
Configuration
-------------
The configuration of dwm is done by customizing source code,
Configuration
-------------
The configuration of dwm is done by customizing source code,