diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-01-15 14:50:00 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-01-15 14:50:00 +0100 |
| commit | 99a4507fb0186f490ba6a4d35371f5fba5445b2d (patch) | |
| tree | 4fd1066a70f4bd495cb8db16097e740879ee44f9 /roles/hyprtheme/tasks | |
| parent | 8324dd804034d03905b765d37a43bda3f433a378 (diff) | |
Add more themes (based on omarchy themes) with minor modifications
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 |
