Skip to content

Commit

Permalink
fix: battery widget
Browse files Browse the repository at this point in the history
  • Loading branch information
savalet committed Nov 11, 2024
1 parent 0358dd8 commit ac04e7c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion home/qtile/src/bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,15 @@ def mk_overrides(cls, **conf):

Battery = mk_overrides(
widget.Battery,
format="⚡{percent:2.0%}",
charge_char="⚡",
discharge_char="🔋",
empty_char="🪫",
format="{char}{percent:2.0%}",
background=colors.BG_DARK.with_alpha(0.7),
foreground=colors.TEXT_LIGHT,
low_background=colors.RED_DARK.with_alpha(0.7),
low_percentage=0.1,
update_interval=5
)

CPUGraph = mk_overrides(
Expand Down

0 comments on commit ac04e7c

Please sign in to comment.