Add battery with simple awk command using upower
This commit is contained in:
parent
8787726512
commit
2c1c1d8897
1 changed files with 4 additions and 0 deletions
|
@ -82,6 +82,10 @@ interval=5
|
|||
LABEL_ON=<span foreground='#17d427'> </span>
|
||||
LABEL_OFF=<span foreground='#c90f1f'> </span>
|
||||
|
||||
[battery]
|
||||
command=echo "$(upower -d | grep 'percentage' | awk '{ print $2 }')"
|
||||
interval=30
|
||||
|
||||
[calendar]
|
||||
interval=60
|
||||
LABEL=<span foreground='#ffca8c'> </span>
|
||||
|
|
Loading…
Add table
Reference in a new issue