X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/37fea84de800e70c8ca6db295ebfefe0b61dd6cb..7edc59631193813cf4d64030f8864de36b193cfc:/README

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