Switch to built-in battery widget.

This commit is contained in:
Bartek Stalewski 2022-12-17 00:30:08 +01:00
parent aa14a8fe5a
commit 739dfb66a9
2 changed files with 9 additions and 19 deletions

View file

@ -159,9 +159,16 @@ screens = [
update_interval=1,
cmd="sb-volume",
),
widget.GenPollCommand(
widget.Battery(
format='{char} {percent:2.0%}',
charge_char='\uf077',
discharge_char='\uf078',
unknown_char='\uf444',
full_char='\uf102',
update_interval=1,
cmd="sb-battery",
low_background='#770000',
low_foreground='#ffffff',
low_percentage=0.2,
),
widget.Clock(
format='[%d] %H:%M:%S',