Package: kde-material-you-colors
🎨 KDE Material You ColorsAutomatically generate Light/Dark Color Themes for KDE (and pywal if installed) from your current wallpaper, usingPython implementationof Google'sMaterial Color UtilitiesFeaturesPlasma specificPlasma WidgetSupport for all Wallpaper plugins (color, image, slideshows, animated, Plasma 5.26+ dark wallpaper variants)Update automatically on wallpaper changeChange icon themesStart automatically on loginMake titlebar darker to match specified applications like terminals, code editors and other programs themed by pywalFollow Plasma Material You Dark/Light change to work with theme schedulers likeKoiPlasma addonsTintSierraBreezewindow decoration buttonsTitleBar opacity control forKlassyandSierraBreezeEnhancedwindow decorationsToolBar opacity control forLightlyApplication styleTintKlassywindow decoration outlineThemeable programsKonsole color schemeopacity controlPywalsupport to theme other programs using Material You ColorsBasic KSyntaxHighlighting support (Kate, KWrite, KDevelop...)Theming optionsAlternative Material You color selection if the wallpaper provides more than oneUse your favorite color to generate Material You color schemesCustom colors list used for konsole/pywalCustom amount for background color tintDark/light Color schemes (Plasma and pywal/konsole independently)Set a script/command that will be executed on start or wallpaper/dark/light/settings changeConfiguration fileInstallingPlasma widgetInstall from theKDE StoreRight click on panel > Add Widgets > Get New Widgets > Download New Plasma WidgetsSearch for "KDE Material You Colors"Backend (MANDATORY)Using pypi withpipx(recommended) orpippipxinstallkde-material-you-colors# Optional# pywal to theme other programs using Material You ColorspipxinstallpywalDesktop screenshot helper (support for all wallpaper plugins)The python backend only looks for a specific set of files and other wallpaper plugin properties to get the source color(s). For the rest an alternative Desktop screenshot helper can be installed (if not provided by distro package)User installcmake-Bbuild-S.-DCMAKE_INSTALL_PREFIX=~/.local&&cmake--buildbuild
cmake--installbuildSystem-wide installcmake-Bbuild-S.-DCMAKE_INSTALL_PREFIX=/usr&&cmake--buildbuild
sudocmake--installbuildArch LinuxAURuse your preferred AUR helperOptional featuresInstall thepywalpython module to theme other programs using Material You ColorsCheckpywal Customization Wikito theme supported programsRunning from terminal to debug your configurationRunkde-material-you-colorsFlags take precedence over configuration file, runkde-material-you-colors -hto see the list of available optionsStarting/Stopping Desktop entriesIf not installed by your package manager, runkde-material-you-colors -clto copy desktop entries to ~/.local/share/applications/To start the program launchKDE Material You Colorsfrom your applications listTo stop it launchStop KDE Material You Colorsfrom your applications listRunning on StartupAfter finishing the setup, you can make it run automatically on bootCopy the default configuration to ~/.config/kde-material-you-colors/config.conf:kde-material-you-colors -cSet the program to automatically start with Plasma:kde-material-you-colors -aReboot or logout/login and test the changesRemoving from autostartOpenSystem Settings>Startup and ShutdownRemovekde-material-you-colorsby clicking on the-button.Configuration fileCopy default configuration: runkde-material-you-colors -cEdit ~/.config/kde-material-you-colors/config.confRunkde-material-you-colorswith no arguments from terminal to test it.You can view the sample configuration filehereNotesTo update color withplasma-apply-colorscheme(utility provided by plasma developers), the file containing the new color scheme must have a different name than the current one, to workaround this the program creates two scheme files with different names, then applies one after the other. As a result you end up with duplicated color schemes and maybe some lag while updating schemes.The wallpaper is obtained in the following order:First, uses thePlasma Desktop Scripting APIto read Wallpaper plugin configuration.If the previous fails, the screenshot helper (if installed):The backend uses theKWin Scripting APIand calls the screenshot helper to take a Screenshot of the Desktop view using theKWin's Screenshot pluginBug reporting / Feature requests / ContributingPlease read theContributing guidelines in this repositoryCreditsPython Implementationof Material Color Utilities used by this project.Material Color UtilitiesPywalused to apply material colors to pywal supported softwareMaterialColorUtilities (C#)(used until v0.8.0).xdg-desktop-portal-kdebase for desktop screenshot helper.kdotoolbase for getting desktop window id.Google LLC. / Pictogrammersfor the widget icon.This comment on Redditandksetwallpaperfor the code to get the current Wallpaper that served me as inspiration.