Skip to content

Commit

Permalink
Do not override default_text and width
Browse files Browse the repository at this point in the history
  • Loading branch information
ramnes committed Jul 23, 2019
1 parent c29f608 commit 4965be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libqtile/widget/battery.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def __init__(self, **config) -> None:
DeprecationWarning)
config["update_interval"] = config.pop("update_delay")

base.ThreadedPollText.__init__(self, "BAT", bar.CALCULATED, **config)
base.ThreadedPollText.__init__(self, **config)
self.add_defaults(self.defaults)

self._battery = self._load_battery(**config)
Expand Down

0 comments on commit 4965be5

Please sign in to comment.