Bug 421525

Summary: Allow theme change via args
Product: [Applications] systemsettings Reporter: Janek <xerusx>
Component: kcm_lookandfeelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.18.5   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.22
Sentry Crash Report:

Description Janek 2020-05-14 17:48:36 UTC
Currently I am now aware of any way to change the Global Theme from the CLI - either one would need to manually call kreadconfig5 and kwriteconfig5 to replicate what kcm_lookandfeel is doing, or use the GUI. 

It would be great if this module could support args, so that I could for example call

    kcmshell5 kcm_lookandfeel --args "Theme=Breeze"

to change my Theme to "Breeze", without needing any human interaction.

Something like this has been requested across multiple places, e.g.:

https://forum.kde.org/viewtopic.php?t=123361
https://www.reddit.com/r/kde/comments/8oq8vm/change_kde_color_scheme_from_terminal/
Comment 1 Nate Graham 2021-05-08 15:15:25 UTC
Implemented by Dan Leinir Turthra Jensen with https://invent.kde.org/plasma/plasma-workspace/-/commit/2c2cd9babf2470bbb7ad1aa8626b1508204cfa24 in Plasma 5.22!

See `plasma-apply-lookandfeel --help`