tadded a note how to achieve status info in the bar - dwm - [fork] customized b… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 98c6a92eb56dbbbec32734f3d9206ae63c8f8c08 | |
parent ba59bc8b9fdc828db5472d4e95ab2b1c248ce3c6 | |
Author: [email protected] <unknown> | |
Date: Fri, 21 Jul 2006 09:59:11 +0200 | |
added a note how to achieve status info in the bar | |
Diffstat: | |
M README | 18 +++++++++++++++++- | |
1 file changed, 17 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/README b/README | |
t@@ -1,6 +1,5 @@ | |
dwm - dynamic window manager | |
---------------------------- | |
- | |
dwm is an extremly fast, small, and dynamic X11 window manager. | |
t@@ -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. | |
+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, |