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