Add time to empty and battery icon

This commit is contained in:
flyingscorpio@pinebookpro 2020-09-09 13:06:54 +02:00
parent 2c1c1d8897
commit c49d32e9d7

View file

@ -83,8 +83,8 @@ LABEL_ON=<span foreground='#17d427'>  </span>
LABEL_OFF=<span foreground='#c90f1f'>  </span>
[battery]
command=echo "$(upower -d | grep 'percentage' | awk '{ print $2 }')"
interval=30
command=echo " $(upower -d | grep 'percentage' | awk '{print $2}' | head -n 1) ($(upower -d | grep 'time to empty' | awk -F: '{print $2}' | awk '{print $1,$2}' | head -n 1))"
interval=5
[calendar]
interval=60