X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/0b5dcf229f64a23438e6ef5929d78b7f9bd48355..b800a1d1366c2ba22b7c934f7527de0b1542fe78:/README

diff --git a/README b/README
index b11cb00..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
-        xsetroot -name "`date` `uptime | sed 's/.*,//'`"
-        sleep 1
-    done | dwm
+    	sleep 1
+    done &
+    exec dwm
 
 
 Configuration