Running in circles here.
You stated your problem thus: You can only switch between entire, prepackaged “Global Themes” which is frustrating as you might want a custom combination.
Hence the title “Allow users to make global themes”.
Thus you could create your own Global Themes ‘Day’ and ‘Night’ for yourself and switch them using the day/night switching.
The PROBLEM here is that you cannot set up your theme settings and save that as a Global Theme.
I think this is a conflict of the idea of ‘dark/light’ as a general option, which fundamentally ignores finer tuning options (same with phones - it’s ‘dark mode’ or ‘light mode’ and you can’t define those modes).
In trying to emulate this system, we lose theming options. We could improve this by allowing a USER to define their ‘Global Theme’. The way that I do this is by using Konsave - because ‘creating a global theme’ is pretty much the same thing.
To suggest that a ‘general purpose config saving tool’ is irrelevant is odd - as what you are suggesting is that you want your ‘day/night’ switching to apply more finely tuned options.
This could be achieved thus:
- Konsave create ‘global theme’ named “Day”
- Konsave create ‘global theme’ named “Night”
- at 6am, konsave applies “Day”
- at 6pm, konsave applies “Night”.
You could achieve that with systemd timers for any number of theme options…
Allow users to make Global Themes
This is actually allowed, but not with a GUI ‘Save New Global Theme’ button. So you can totally choose your own Global Themes and apply them, noting that every element of those themes will be applied; so you should define your Global Theme accordingly…
[General]
name=Daytime
colorScheme=Marble
widgetStyle=Breeze
icons=Breeze
cursorTheme=Chameleon-SkyBlue
plasmaTheme=Breeze
[General]
name=Night-time
colorScheme=Dracula
widgetStyle=Breeze
icons=Breeze
cursorTheme=Dracula-cursors
plasmaTheme=Breeze
What’s occuring here is a massive over-complication though.
For ‘Day/Night’ switching, I would propose that a simple colour change is the answer…
So 6am, plasma-apply-colorscheme Day-Time
then at 6pm plasma-apply-colorscheme
.
So this is more in line with the suggestion of a ‘Day/Night’ switcher rather than a periodic complete theme profile changer.