From 6578d03bd3e723fa0890a3eca39ecc746647c610 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 29 Jul 2023 19:57:28 +0100 Subject: [PATCH] Dynamically define KDE config files to copy --- tasks/kde.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/tasks/kde.yml b/tasks/kde.yml index 43d0df0..e97e2b2 100644 --- a/tasks/kde.yml +++ b/tasks/kde.yml @@ -6,15 +6,19 @@ loop: - plasma5-runners-vscode-git +- name: List KDE config files + find: + paths: ./files/kde + register: kde_config_files + - name: Copy config files template: - src: ./files/kde/{{ item }} - dest: "{{ home }}/.config/{{ item }}" + src: "{{ item.path }}" + dest: "{{ home }}/.config/{{ item.path | basename }}" mode: 0644 owner: "{{ user }}" group: users - loop: - - krunnerrc + loop: "{{ kde_config_files.files }}" - name: Install SDDM config template: @@ -107,7 +111,7 @@ realorangeone.kconfig.kconfig: group: - Containments - - 1 + - "1" file: plasma-org.kde.plasma.desktop-appletsrc key: wallpaperplugin value: org.kde.potd