JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
calculate window/monitor intersection
[dwm.git] / README
diff --git a/README b/README
index 2e14579..7abf1cf 100644 (file)
--- a/README
+++ b/README
@@ -38,12 +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:
 
-    dwm &
-    while true
+    while xsetroot -name "`date` `uptime | sed 's/.*,//'`"
     do
-        xsetroot -name "`date` `uptime | sed 's/.*,//'`"
-        sleep 1
-    done
+       sleep 1
+    done &
+    exec dwm
 
 
 Configuration