Add dwm statusbar
This commit is contained in:
parent
876ef48cc9
commit
d9e0614466
1 changed files with 8 additions and 0 deletions
8
dwmstatus
Executable file
8
dwmstatus
Executable 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
|
Loading…
Reference in a new issue