X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/62a491e36d493bf4585b348a4c28c5ed9bd3ea4e..04db03a4e69eba88c56c12128340125fb0ef1960:/README

diff --git a/README b/README
index 2e14579..7abf1cf 100644
--- 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