about summary refs log tree commit diff stats
path: root/README
diff options
context:
space:
mode:
authorarg@10ksloc.org <unknown>2006-07-21 09:59:11 +0200
committerarg@10ksloc.org <unknown>2006-07-21 09:59:11 +0200
commit98c6a92eb56dbbbec32734f3d9206ae63c8f8c08 (patch)
treedc3944e3d86a8f4c19462fafac6ea91759c6fb54 /README
parentba59bc8b9fdc828db5472d4e95ab2b1c248ce3c6 (diff)
downloaddwm-98c6a92eb56dbbbec32734f3d9206ae63c8f8c08.tar.gz
added a note how to achieve status info in the bar
Diffstat (limited to 'README')
-rw-r--r--README18
1 files changed, 17 insertions, 1 deletions
diff --git a/README b/README
index a17b82a..22d386e 100644
--- a/README
+++ b/README
@@ -1,6 +1,5 @@
 dwm - dynamic 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.
 
 
+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,
#n149'>149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219