Add time to empty and battery icon
This commit is contained in:
parent
2c1c1d8897
commit
c49d32e9d7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue