X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/60adbab72636e50dbafe4456c892c1bf26cee690..99f78fa553f9ddb23fab73e47a408d66ca7f974c:/README

diff --git a/README b/README
index 2dcaedd..7abf1cf 100644
--- 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
-        echo `date` `uptime | sed 's/.*,//'`
-        sleep 1
-    done | dwm
+    	sleep 1
+    done &
+    exec dwm
 
 
 Configuration