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

Reworked workrave-break-info.py into something that can be used as a Python module #563

Merged
merged 6 commits into from
Jul 19, 2024

Conversation

jjramsey
Copy link
Contributor

After looking at the documentation for qtile, it occurred to me that if the script were reworked, it could be used as a module for those who wanted to do something fancy, either with qtile or something else. In order for it to be imported as a module, though, I did need to change the script's name to use underscores instead of dashes, though.

jjramsey added 6 commits July 16, 2024 21:54
Reworked the script workrave-break-info.py into something that can be used as a Python module for use with something like qtile or some specialty script.
The WorkraveBreakInfo class was coupled to the fmt_timer_${FORMAT} function, limiting its flexibility.
@rcaelers rcaelers merged commit 215fc7a into rcaelers:main Jul 19, 2024
18 checks passed
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.

2 participants