|
|
@ -38,17 +38,11 @@ Displaying status info
|
|
|
|
In order to display status info in the bar, you can do following
|
|
|
|
In order to display status info in the bar, you can do following
|
|
|
|
in .xinitrc:
|
|
|
|
in .xinitrc:
|
|
|
|
|
|
|
|
|
|
|
|
$HOME/.dwm/status | dwm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Assumed $HOME/.dwm/status is an executable script like:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
while true
|
|
|
|
while true
|
|
|
|
do
|
|
|
|
do
|
|
|
|
echo `date` `uptime | sed 's/.*://; s/,//g'`
|
|
|
|
echo `date` `uptime | sed 's/.*://; s/,//g'`
|
|
|
|
sleep 5
|
|
|
|
sleep 5
|
|
|
|
done
|
|
|
|
done | dwm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Configuration
|
|
|
|
Configuration
|
|
|
|
-------------
|
|
|
|
-------------
|
|
|
|