Remove wallpaper in old containments
This commit is contained in:
parent
55c104f320
commit
b07f9ff817
@ -1,24 +1,26 @@
|
|||||||
---
|
---
|
||||||
# - name: Plasma | Set desktop wallpaper
|
- name: Plasma | Remove previously set wallpapers
|
||||||
# ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
# qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript "
|
kwriteconfig6 --file ~/.config/plasma-org.kde.plasma.desktop-appletsrc --group Containments --group 1 --group Wallpaper --group org.kde.image --group General --key Image --delete
|
||||||
# desktops().forEach((d) => {
|
kwriteconfig6 --file ~/.config/plasma-org.kde.plasma.desktop-appletsrc --group Containments --group 1 --group Wallpaper --group org.kde.image --group General --key FillMode --delete
|
||||||
# d.currentConfigGroup = [
|
kwriteconfig6 --file ~/.config/plasma-org.kde.plasma.desktop-appletsrc --group Containments --group 2 --group Wallpaper --group org.kde.image --group General --key Image --delete
|
||||||
# 'Wallpaper',
|
kwriteconfig6 --file ~/.config/plasma-org.kde.plasma.desktop-appletsrc --group Containments --group 1 --group Wallpaper --group org.kde.image --group General --key FillMode --delete
|
||||||
# 'org.kde.image',
|
tags: config
|
||||||
# 'General',
|
|
||||||
# ]
|
|
||||||
# d.writeConfig('Image', '{{ background_image }}')
|
|
||||||
# d.writeConfig('FillMode', '1')
|
|
||||||
# d.reloadConfig()
|
|
||||||
# })
|
|
||||||
# "
|
|
||||||
# tags: config
|
|
||||||
|
|
||||||
- name: Plasma | Set desktop wallpaper
|
- name: Plasma | Set desktop wallpaper
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
kwriteconfig6 --file ~/.config/plasma-org.kde.plasma.desktop-appletsrc --group Containments --group 1 --group Wallpaper --group org.kde.image --group General --key Image '{{ background_image }}'
|
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript "
|
||||||
kwriteconfig6 --file ~/.config/plasma-org.kde.plasma.desktop-appletsrc --group Containments --group 2 --group Wallpaper --group org.kde.image --group General --key Image '{{ background_image }}'
|
desktops().forEach((d) => {
|
||||||
|
d.currentConfigGroup = [
|
||||||
|
'Wallpaper',
|
||||||
|
'org.kde.image',
|
||||||
|
'General',
|
||||||
|
]
|
||||||
|
d.writeConfig('Image', '{{ background_image }}')
|
||||||
|
d.writeConfig('FillMode', '1')
|
||||||
|
d.reloadConfig()
|
||||||
|
})
|
||||||
|
"
|
||||||
tags: config
|
tags: config
|
||||||
|
|
||||||
- name: Plasma | Set Lockscreen wallpaper
|
- name: Plasma | Set Lockscreen wallpaper
|
||||||
|
Loading…
Reference in New Issue
Block a user