Last active
March 19, 2019 08:51
-
-
Save oskarsh/6a407ae979b0207b9785e73ce47616d9 to your computer and use it in GitHub Desktop.
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
dbus-send --session --dest=org.kde.plasmashell --type=method_call /PlasmaShell org.kde.PlasmaShell.evaluateScript 'string: | |
var Desktops = desktops(); | |
for (i=0;i<Desktops.length;i++) { | |
d = Desktops[0]; | |
d.wallpaperPlugin = "org.kde.image"; | |
d.currentConfigGroup = Array("Wallpaper", | |
"org.kde.image", | |
"General"); | |
d.writeConfig("Image", "file:'$1'"); | |
}' | |
dbus-send --session --dest=org.kde.plasmashell --type=method_call /PlasmaShell org.kde.PlasmaShell.evaluateScript 'string: | |
var Desktops = desktops(); | |
for (i=0;i<Desktops.length;i++) { | |
d = Desktops[1]; | |
d.wallpaperPlugin = "org.kde.image"; | |
d.currentConfigGroup = Array("Wallpaper", | |
"org.kde.image", | |
"General"); | |
d.writeConfig("Image", "file:'$2'"); | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment