linux-utils/dwmstatus
2017-06-15 15:48:22 -04:00

8 lines
123 B
Bash
Executable file

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