diff options
Diffstat (limited to 'roles/hyprtheme/tasks')
| -rw-r--r-- | roles/hyprtheme/tasks/main.yml | 5 | ||||
| -rw-r--r-- | roles/hyprtheme/tasks/template-theme.yml | 14 |
2 files changed, 19 insertions, 0 deletions
diff --git a/roles/hyprtheme/tasks/main.yml b/roles/hyprtheme/tasks/main.yml index 5aa41bc7..cf1c4e35 100644 --- a/roles/hyprtheme/tasks/main.yml +++ b/roles/hyprtheme/tasks/main.yml @@ -4,6 +4,11 @@ hyprtheme_themes: - "catppuccin" - "everforest" + - "gruvbox" + - "matte-black" + - "osaka-jade" + - "ristretto" + - "tokyo-night" - name: "Create current theme directory" ansible.builtin.file: diff --git a/roles/hyprtheme/tasks/template-theme.yml b/roles/hyprtheme/tasks/template-theme.yml index e86b4752..bf6df935 100644 --- a/roles/hyprtheme/tasks/template-theme.yml +++ b/roles/hyprtheme/tasks/template-theme.yml @@ -24,9 +24,23 @@ loop: "{{ hyprtheme_theme_files }}" loop_control: loop_var: file + tags: + # This is ignored because it is possible that some themes (ex. matte-black), would provide + # a static override to some files (ex. btop.theme), which will result in + # the template task overriding the static file (reporting changed), to be then overrided + # again by the copy task, which will report changed again + # This is safe to ignore for idempotence testing + - molecule-idempotence-notest - name: "Copy static theme files for: {{ hyprtheme_name }}" ansible.builtin.copy: src: "themes/{{ hyprtheme_name }}/" dest: "{{ ansible_env.HOME }}/.config/hyprtheme/themes/{{ hyprtheme_name }}/" mode: "0644" + tags: + # This is ignored because it is possible that some themes (ex. matte-black), would provide + # a static override to some files (ex. btop.theme), which will result in + # the template task overriding the static file (reporting changed), to be then overrided + # again by the copy task, which will report changed again + # This is safe to ignore for idempotence testing + - molecule-idempotence-notest |
