Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix global_defaults for Battery widget #3229

Merged
merged 1 commit into from
Jan 21, 2022
Merged

Conversation

elParaguayo
Copy link
Member

Similar to #3203, the Battery widget reads a property in __init__ which prevents it being set by global defaults.

This PR fixes the issue by moving the property read to _configure.

Fixes #3228

Copy link
Member

@m-col m-col left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Similar to qtile#3203, the Battery widget reads a property in __init__
which prevents it being set by global defaults.

This PR fixes the issue by moving the property read to `_configure`.

Fixes qtile#3228
@m-col m-col merged commit a899393 into qtile:master Jan 21, 2022
@elParaguayo elParaguayo deleted the issue-3228 branch July 26, 2023 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Battery widget doesn't respect extension_defaults
2 participants