Dynamically define KDE config files to copy

This commit is contained in:
Jake Howard 2023-07-29 19:57:28 +01:00
parent 636046af55
commit 6578d03bd3
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -6,15 +6,19 @@
loop: loop:
- plasma5-runners-vscode-git - plasma5-runners-vscode-git
- name: List KDE config files
find:
paths: ./files/kde
register: kde_config_files
- name: Copy config files - name: Copy config files
template: template:
src: ./files/kde/{{ item }} src: "{{ item.path }}"
dest: "{{ home }}/.config/{{ item }}" dest: "{{ home }}/.config/{{ item.path | basename }}"
mode: 0644 mode: 0644
owner: "{{ user }}" owner: "{{ user }}"
group: users group: users
loop: loop: "{{ kde_config_files.files }}"
- krunnerrc
- name: Install SDDM config - name: Install SDDM config
template: template:
@ -107,7 +111,7 @@
realorangeone.kconfig.kconfig: realorangeone.kconfig.kconfig:
group: group:
- Containments - Containments
- 1 - "1"
file: plasma-org.kde.plasma.desktop-appletsrc file: plasma-org.kde.plasma.desktop-appletsrc
key: wallpaperplugin key: wallpaperplugin
value: org.kde.potd value: org.kde.potd