-
-
Save oversider-kosma/02759c356cd6f7898c350673f21c8cb8 to your computer and use it in GitHub Desktop.
Set desktop wallpaper in Plasma5 via a dbus command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'var allDesktops = desktops();print (allDesktops);for (i=0;i<allDesktops.length;i++) {d = allDesktops[i];d.wallpaperPlugin = "org.kde.image";d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");d.writeConfig("Image", "file:///path/to/image.png")}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment