It is inconvenient to manually turn on a light theme in the morning and dark in the evening.
I want to be able to set time intervals manually or automatically by location (sunset — dawn)
It could be better just to respect system dark/light theme switching, rather than having built-in UI for theme switching schedule.
Modern OS like macOS and Linux allow you to switch system theme by schedule.
This is how I see implementation:
The current best practice to detect a dark theme in Linux is to check -dark ending in the theme name.
If this is hard to implement, a keyboard shortcut for night theme toggling could be a good workaround in the meantime.
and Linux
There's no universal settings storage on Linux, each DE have it's own settings. KDE uses kdeglobals file, LXQt uses configs in ~/.config/lxqt, reading settings of GTK-based DE requires linking to GTK, which is a harmful dependency for a Qt application (you'll get conflicts with embedded platformtheme plugins, like qgtk3 and qgtk2).
Most helpful comment
It could be better just to respect system dark/light theme switching, rather than having built-in UI for theme switching schedule.
Modern OS like macOS and Linux allow you to switch system theme by schedule.
This is how I see implementation:
The current best practice to detect a dark theme in Linux is to check
-darkending in the theme name.