Custom script instead of battery widget.
This commit is contained in:
parent
99e8ee4eb7
commit
7e575ee9f5
2 changed files with 21 additions and 6 deletions
|
@ -136,12 +136,9 @@ screens = [
|
|||
update_interval=0.2,
|
||||
func=lambda: subprocess.check_output("sb-network").decode(),
|
||||
),
|
||||
widget.Battery(
|
||||
format='\uf241 {char} {percent:2.0%}',
|
||||
charge_char="\uf077",
|
||||
discharge_char="\uf078",
|
||||
full_char="\uf102",
|
||||
unknown_char="\uf444",
|
||||
widget.GenPollText(
|
||||
update_interval=0.2,
|
||||
func=lambda: subprocess.check_output("sb-battery").decode(),
|
||||
),
|
||||
widget.Clock(
|
||||
format='\uf073 [%d] %I:%M:%S %p'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue