Automatically generate Light/Dark Color Themes for KDE (and pywal if installed) from your current wallpaper
After 7-8 months without release, I decided to revive this project and added a Plasmoid to it, this is the first release of the widget so it may contain some bugs . Requires python backend, check github link at the end for install instructions.
I’m using this on 6 right now with nvidia 390. Wobbly windows seem more stuttery and my .bashrc is prbb. too crammed for it to work with pywal? Does it work with zsh?
Will maybe try again with nouveau.
Wow, stutterness is gone completely on Wayland which is working for the first time. Goodbye, nvidia-390
Maybe stutterness on X11 but unsure if it used to be better w/o Youcolor.
Next I’ll try with untouched zsh and bash configs.
What are the first 8 color spots? And when are they generated?
Do I have to select 1 color there? If not, one can not select no color after one had selected a color.
Those are color scheme variants that come from the colors generation, tonal spot is the default. Currently there is a bug where the selected variant loses it’s visual selected state but the backend is still using the last one you selected.
Thank you, this does not work by default for Konsole in Manjaro, Plasma 6.0.5. Stable.
At least changes are not respected, also after quitting the app. Colors were adapted once after logging in Plasma, at least. All Konsole and color settings were left at default before installing from Github and the widget.
A small hint would be nice if one can set anything to make it work (may be a simple symlink?).
KDE MYC creates color schemes visible in System Settings, I think 6 times 2 (Dark/Light variants), 3 of which share the same name [misleading? or might be a bug in Plasma6, the doppelgangers…].
A hint not to edit those yourself, as this is done by the 2 sliders and the tone options (Tonal, Rainbow…) would be nice in a how to (which I would write if it worked perfectly :p).
In times of Microsoft Recall and Google (open) code being used, it would also be helpful to have an explanation where the screenshot function (to be separately installed if one uses anything different from the “Image” wallpaper) saves temp files (also to look them up) and what happens to them as in: are they deleted? People might be asking these questions.
I think this function drew one color from the Web-Browser widget I had on the Desktop and not its wallpaper.
Feedback to possible users: I think you can achieve similar if not the same with the built-in settings (window decorations, plasma styles that “follow color scheme”), Firefox with Colors > Manage Colors > Use System Colors + Override … > Always; and Pywal with terminals.
One also can wish for adapting a second or more accent color from wallpapers in System Settings as a new feature in Plasma.
Wish it was a simple as a symlink. The way it works is: First, it tries to find a default profile that is writable or create a new one (and is set as default). The konsole color scheme will be configured for that profile and is then applied it to every running Konsole instance. Next time you start a konsole window/tab/split it should have the correct colors. If that is not happening please create a bug report with the output of kde-material-you-colors when you recreate the issue. Note that it actually creates one profile but a copy of it was needed to correctly reload the colors.
Yes as it specified in the readme those are required because it is not possible to apply the same color scheme twice, it has to have a different name, hence the clones. Maybe this can be avoided but haven’t looked into that yet.
Not sure I understand this one correctly but the scheme variants (Tonal, Rainbow…) come from the colors generation and some have different colors, the sliders control the amount of colors of the currently selected variant. The brightness one is kinda flawed as I need to change it to only update the background and maybe do the same for the colors one as accents/texts get very intense with very little change on the background color, specially in light mode.
This is a very good point, it only takes screenshots of the Desktop window of classname plasmashell so it is very unlikely it took another window screenshot. The file is saved in /tmp/kde-material-you-colors-desktop-screenshot-$(whoami).png if you can verify it is taking screenshot of something else please create an issue. That said I want to migrate the current method to a better one just haven’t had the time to figure out the implementation.
Indeed a more detailed explanation of how and why of some things (like why this thing still exists if we have builtin colors from wallpaper) would help. Will try to improve on that.
Thank you Mr. L. B. N. Indeed the WebBrowser widget is a plasmashell addon and therefore in the plasmashell window class. It is not a real browser.
I have to add, this works well, for Konsole, out of the box with an “Image” wallpaper.
My use case is to use it from an auto-changing, blurred wallpaper and the colors also being applied for Firefox web content (at least, the) background. This did not work with the “Image” wallpaper either.
I tried with Active Blur and Slideshow (with or without the Wallpaper Effects widget).
Aww I didn’t look at the cli help entries. Now I uninstalled it so maybe from a live system.
I saw the Konsole profile and also the YMTemp one (or similarly named).
I can tell you my mind output: It did not register wallpaper changes if they didnt come from “Image”. The widget didn’t produce a sound/message on those.
I.e.: The snapshot thingie doesn’t really work and Ff does not “see” the changes in the color scheme.
I get it now, yes unfortunately widgets/folders get caught on the screenshots with the current method.
Slideshow is broken because the scripting api no longer returns the current wallpaper from that plugin There is a new dbus way to do it but I’d rather just blacklist it so it fallbacks to screenshot mode…
My use case is to use it from an auto-changing, blurred wallpaper and the colors also being applied for Firefox web content (at least, the) background. This did not work with the “Image” wallpaper either.
Thank you, but does it work on 6? If so, I’ll see if its better than with the built in colors. Does it auto-update from slideshow/active blur slideshow?
As I just found out, it is the GTK theme from Application Style > Configure GNOME/GTK Appl, Style (in top right) [Get new …] > Goldy-Dark-GTK
… that makes it work for dark themes.
It should work with Gtk theme Breeze (the default one) for light themes configured in the same place.
I think a post on tips and tricks category would be nice for the people that don’t know the built-in feature exists.
Some people find my project and think it’s the only way tho get dynamic color schemes, when my project is an alternative to that with extra features.