1
0
Fork 0
mirror of https://gitlab.com/mlunax/dotfiles.git synced 2025-04-12 05:40:17 +00:00
dotfiles/bin/change-wallpaper.sh
Luna Komorebi 45ad03dcab feat: Add wallpaper changing script.
- Add `change-wallpaper.sh` with a bash script to change the desktop wallpaper.
- Several files were modified, but only major changes are listed in the diff summary.
- Enhancements and optimizations were made to improve overall performance.
2023-04-08 13:26:04 +02:00

2 lines
317 B
Bash

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", "$1")}'