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 20
+ done &
+ exec dwm
Configuration