Add dwm statusbar

This commit is contained in:
lhark 2017-06-15 15:48:22 -04:00
parent 876ef48cc9
commit d9e0614466

8
dwmstatus Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
bat="$(cat /sys/class/power_supply/BAT1/capacity)%"
t="$(date '+%d/%m %T')"
xsetroot -name "$t $bat"
sleep 5s