mirror of
https://git.suckless.org/dwm
synced 2024-12-27 03:16:32 +00:00
made status script example of .xinitrc more useful
This commit is contained in:
parent
57a0788bd8
commit
6d209b9b29
1 changed files with 2 additions and 2 deletions
4
README
4
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
|
In order to display status info in the bar, you can do something
|
||||||
like this in your .xinitrc:
|
like this in your .xinitrc:
|
||||||
|
|
||||||
dwm &
|
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
xsetroot -name "`date` `uptime | sed 's/.*,//'`"
|
xsetroot -name "`date` `uptime | sed 's/.*,//'`"
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done &
|
||||||
|
exec dwm
|
||||||
|
|
||||||
|
|
||||||
Configuration
|
Configuration
|
||||||
|
|
Loading…
Reference in a new issue