add battery to my bar
This commit is contained in:
parent
26f7599a19
commit
8e94eeaeb8
1 changed files with 1 additions and 1 deletions
2
xinitrc
2
xinitrc
|
@ -34,7 +34,7 @@ fi
|
|||
# My lovely bar
|
||||
bar() {
|
||||
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue