X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/e87bed6df228844f130eff6f1ab63b386b88a34b..f8e2a655036a3f2e45d01b9121837270998b240b:/README

diff --git a/README b/README
index 7da2cb7..95d4fd0 100644
--- a/README
+++ b/README
@@ -35,11 +35,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/.*://; s/,//g'`
-        sleep 1
-    done | dwm
+    	sleep 1
+    done &
+    exec dwm
 
 
 Configuration