소스 검색

made status script example of .xinitrc more useful

a@null 17 년 전
부모
커밋
6d209b9b29
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      README

+ 2 - 2
README

@@ -38,12 +38,12 @@ 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:
 
-    dwm &
     while true
     do
         xsetroot -name "`date` `uptime | sed 's/.*,//'`"
         sleep 1
-    done
+    done &
+    exec dwm
 
 
 Configuration