Open TheFibonacciEffect opened 1 year ago
I see that the opening doublequote is not closed in the example hook, which is definetely a bug. If we just close it, does it work? Or does it still require wrapping each line into quotes and adding \n
?
Looks like you're missing the double quotes around the whole hook. Here's mine that's working for me:
hook: "
# Set the KDE Plasma Desktop Wallpaper
blank=$HOME/.config/pacwall/oneblackpixel.png
plasma-apply-wallpaperimage $blank
plasma-apply-wallpaperimage $W
# Set the KDE Plasma Lock Screen Wallpaper
kwriteconfig5 --file kscreenlockerrc --group Greeter --key WallpaperPlugin org.kde.image
kwriteconfig5 --file kscreenlockerrc --group Greeter --group Wallpaper --group org.kde.image --group General --key Color \"#000000\"
kwriteconfig5 --file kscreenlockerrc --group Greeter --group Wallpaper --group org.kde.image --group General --key FillMode 6
kwriteconfig5 --file kscreenlockerrc --group Greeter --group Wallpaper --group org.kde.image --group General --key Image $W
"
I needed some tweaking to the config file to get it to work in kde: Mine looks like this:
so I needed to add quotes and newlines to everything. Otherwise it complained about having a missconfigured config.