kde_controlcentre icon indicating copy to clipboard operation
kde_controlcentre copied to clipboard

[FEATURE REQUEST] Light-/Dark Theme Switcher not mature: give more options

Open slynobody opened this issue 1 year ago • 1 comments

Describe the feature For being truly beneficial, the light-/dark-switcher should not only switch the color-scheme (border), but also the other relevant variables, esp. the kvantum-theme as well.

Additional context its as simple as including some more commands when button is triggered while giving more options through reading resp. commands variable-choices and presenting them also as 2nd / 3rd / 4th preference-option

plasma-apply-colorscheme XYZ (color-scheme, already done) plasma-changeicons XYZ (icons) kwriteconfig5 --file plasmarc --group Theme --key name XYZ (plasma-theme)

kvantum

kwriteconfig5 --file kdeglobals --group KDE --key widgetStyle XYZ (f.e. kvantum) kvantummanager --set XYZ (kvantum)

to update screen (without restarting plasma) after changes took place, one should simple add at the end:

dbus-send --session --type=signal /KGlobalSettings org.kde.KGlobalSettings.notifyChange int32:2 int32:0 (refresh screen)

the next step then will be GTK-Theme-change

gsettings set org.gnome.desktop.interface color-scheme 'prefer-[light/dark]' gsettings set org.gnome.desktop.interface gtk-theme 'XYZ'

But this does currently not work in every situation (esp. if you have a few security-driven measures in the background), plasma-guys should really work on this. help here appreciated also.

slynobody avatar Mar 13 '23 17:03 slynobody

any news on that? a little bit annoying to loose the 2 buttons for this if it could be included as default

slynobody avatar Aug 06 '23 17:08 slynobody