-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Schedules #89
base: main
Are you sure you want to change the base?
Schedules #89
Conversation
Some things to discuss here:
|
For testing this is a valid key with two schedules
|
@danirabbit regarding UI any suggestions where to put it? (ike which plug, maybe desktop? Or maybe even a separate one?) To make it powerful we'd probably need a list where we can add schedules, enable/disable, edit and delete them and a dialog where the user can choose the type of the schedule, the settings that get toggled and possibly even the inactive settings that get toggled (maybe something like a reverse changes on becoming inactive - custom switch). |
@leolost2605 I think it might be its own new top level plugin |
Working prototype of schedules.
Currently available are:
Settings:
My current way schedules are set up is as follows:
Schedules are stored as gsettings with the type string
a(ia{sv}a{sv}a{sv})
which is IMO actually a really cool, easy and fast way to store them.Most of the schedule calculation logic is taken from the PrefersColorSchemeSettings
Starts to fix #64
Somewhat fixes #14 (toggling it will not disable the schedule)
Fixes #11
TODO: