X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/02cea3b47e944ddb7541dfb404af205c1064191a..6b043f44229c59ba7a81df884605c5d297229d23:/README?ds=sidebyside

diff --git a/README b/README
index b4fde50..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/.*,//'`
-        sleep 1
-    done | dwm
+    	sleep 1
+    done &
+    exec dwm
 
 
 Configuration