summaryrefslogtreecommitdiffstats
path: root/roles/hyprtheme/tasks/main.yml
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-01-15 12:28:19 +0100
committerAhmed Abdelhalim <[email protected]>2026-01-15 12:58:04 +0100
commitc2f2ed0d31d6790793064a9e1556aaec8488f623 (patch)
tree234e45cb73e29002672018f7e1c55c230e3a77dd /roles/hyprtheme/tasks/main.yml
parent473c1d59845a93d30ef9d8096e061263c292fbf6 (diff)
Fix and ignore linting issues on hyprtheme role
Diffstat (limited to 'roles/hyprtheme/tasks/main.yml')
-rw-r--r--roles/hyprtheme/tasks/main.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/roles/hyprtheme/tasks/main.yml b/roles/hyprtheme/tasks/main.yml
index a3762b98..5aa41bc7 100644
--- a/roles/hyprtheme/tasks/main.yml
+++ b/roles/hyprtheme/tasks/main.yml
@@ -1,39 +1,39 @@
---
- name: "Set themes fact"
ansible.builtin.set_fact:
- hyprthemes:
+ hyprtheme_themes:
- "catppuccin"
- "everforest"
- name: "Create current theme directory"
ansible.builtin.file:
- path: "{{ ansible_env.HOME }}/.config/hyprthemes/current"
+ path: "{{ ansible_env.HOME }}/.config/hyprtheme/current"
state: "directory"
mode: "0755"
- name: "Create themes directory"
ansible.builtin.file:
- path: "{{ ansible_env.HOME }}/.config/hyprthemes/themes/{{ item }}"
+ path: "{{ ansible_env.HOME }}/.config/hyprtheme/themes/{{ item }}"
state: "directory"
mode: "0755"
- loop: "{{ hyprthemes }}"
+ loop: "{{ hyprtheme_themes }}"
- name: "Create scripts directory"
ansible.builtin.file:
- path: "{{ ansible_env.HOME }}/.config/hyprthemes/scripts"
+ path: "{{ ansible_env.HOME }}/.config/hyprtheme/scripts"
state: "directory"
mode: "0755"
- name: "Template themes"
ansible.builtin.include_tasks: "template-theme.yml"
vars:
- theme_name: "{{ item }}"
- loop: "{{ hyprthemes }}"
+ hyprtheme_name: "{{ item }}"
+ loop: "{{ hyprtheme_themes }}"
- name: "Copy theme scripts"
ansible.builtin.copy:
src: "{{ item }}"
- dest: "{{ ansible_env.HOME }}/.config/hyprthemes/{{ item }}"
+ dest: "{{ ansible_env.HOME }}/.config/hyprtheme/{{ item }}"
mode: "0755"
loop:
- "scripts/theme-set"