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