JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
shut up about deprecated Xlib functions
[dwm.git] / README
diff --git a/README b/README
index a97a8b1..7abf1cf 100644 (file)
--- a/README
+++ b/README
@@ -38,13 +38,11 @@ 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:
 
-    while true
+    while xsetroot -name "`date` `uptime | sed 's/.*,//'`"
     do
-        xsetroot -name "`date` `uptime | sed 's/.*,//'`"
-        sleep 1
+       sleep 1
     done &
-    dwm
-    kill $!
+    exec dwm
 
 
 Configuration