-
-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kde(fix): make wallpaper optional and nondestructive #823
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
functionally super nice, way better than my solution.
consider changing the commit message.
|
Thank you for the review. I forgot that I shouldn't add the change type. Fortunately, the commits usually get squashed with new message on merge. |
ah, gotchya, nvm then |
IIUC, this PR does the following:
I am slightly confused how this closes #809 and makes the wallpaper image optional. Maybe I missed something obvious... |
I don't wanna take the fun or credit from the author, but I really wanna get this merged so here's how I understand it
the |
Thank you for the lovely explanation, it is more fun for me that my code is understandable by other people. The issue unfortunatelly isn't fixed (originaly it seemed that it was only caused by Apart from that, it makes the wallpaper optional. I don't think I can do anything more now, in the issue we agreed that it would be best to ask KDE devs for help, so that we can stop requiring autostart and only use normal activation. I can ask them when I have more time. I don't think the original issue is within our power to solve, but it does make the wallpaper optional and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am slightly confused how this closes #809 and makes the wallpaper image optional. Maybe I missed something obvious...
the
mergeWithImage
function merges two attribute sets, strings, or lists based onconfig.stylix.image
. If the image is null, the second attribute set, string, or list isn't merged at all, and all configuration requiring the image is in these second attribute sets, strings, or lists. that makes the image optional.[...]
Thank you for the lovely explanation, it is more fun for me that my code is understandable by other people.
Thanks for the great explanation. Now everything makes senese.
Somehow I missed the
Lines 24 to 25 in 28a9d61
if image == null then | |
default |
branch everytime I re-read the code...
Hello.
I went ahead and fixed #809. While at it, I also made the wallpaper image optional, correcting for some incorrect settings in Look and Feel, which will clash with #717 (but should be more correct).