mirror of
https://gitlab.com/mlunax/dotfiles.git
synced 2025-04-12 05:40:17 +00:00
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.
This commit is contained in:
parent
019395f6e5
commit
45ad03dcab
1 changed files with 2 additions and 0 deletions
2
bin/change-wallpaper.sh
Normal file
2
bin/change-wallpaper.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
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")}'
|
||||
|
Loading…
Add table
Reference in a new issue