about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authora@null <unknown>2008-12-13 20:20:26 +0000
committera@null <unknown>2008-12-13 20:20:26 +0000
commit6d209b9b29d062f85d34b4948b5867bd465f5150 (patch)
tree5560c96f0949fc9b99e260a709aea523729547e0
parent57a0788bd880809dcfa09c597fb29a19c8db7ed2 (diff)
downloaddwm-6d209b9b29d062f85d34b4948b5867bd465f5150.tar.gz
made status script example of .xinitrc more useful
-rw-r--r--README4
1 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index 2e14579..135c066 100644
--- a/README
+++ b/README
@@ -38,12 +38,12 @@ the DISPLAY environment variable is set correctly, e.g.:
 In order to display status info in the bar, you can do something
 like this in your .xinitrc:
 
-    dwm &
     while true
     do
         xsetroot -name "`date` `uptime | sed 's/.*,//'`"
         sleep 1
-    done
+    done &
+    exec dwm
 
 
 Configuration