]> git.armaanb.net Git - dwm.git/blobdiff - README
fix fullscreen clients not resized on X display resolution change
[dwm.git] / README
diff --git a/README b/README
index b11cb00abf5682d4f11c117cd16a8fb9718a5c28..7abf1cfc4381af9eabdd8b1c10a9f5fe50320863 100644 (file)
--- a/README
+++ b/README
@@ -38,11 +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
-    done | dwm
+       sleep 1
+    done &
+    exec dwm
 
 
 Configuration