add battery to my bar

This commit is contained in:
Felix Van der Jeugt 2016-08-08 12:01:00 +02:00
parent 26f7599a19
commit 8e94eeaeb8

View File

@ -34,7 +34,7 @@ fi
# My lovely bar # My lovely bar
bar() { bar() {
while sleep 1; do while sleep 1; do
xsetroot -name "$(date +'%a %d %b, %I:%M')" xsetroot -name "B$(acpi -b | tr -d ' ' | cut -d',' -f2) $(date +'%a %d %b, %I:%M')"
done done
} }