summaryrefslogtreecommitdiffstats
path: root/roles/hyprcursor
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-01-24 16:24:28 +0100
committerAhmed Abdelhalim <[email protected]>2026-01-24 16:24:28 +0100
commit6d927c0f20f95dfb1ece8766dfaf34805bc2f820 (patch)
tree7fcc3918e290e31309d74eb0b784fa6a00318ee3 /roles/hyprcursor
parentb39722e58c1935f4d92c052cf89c941164150c35 (diff)
Fix ansible_facts to use only bracket notation instead of dot notation
Co-authored-by: claude.ai
Diffstat (limited to 'roles/hyprcursor')
-rw-r--r--roles/hyprcursor/tasks/main.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/hyprcursor/tasks/main.yml b/roles/hyprcursor/tasks/main.yml
index 2ca1366f..eb39b73e 100644
--- a/roles/hyprcursor/tasks/main.yml
+++ b/roles/hyprcursor/tasks/main.yml
@@ -7,19 +7,19 @@
- name: "Ensure icons directory exists"
ansible.builtin.file:
- path: "{{ ansible_facts['env'].HOME }}/.local/share/icons"
+ path: "{{ ansible_facts['env']['HOME'] }}/.local/share/icons"
state: "directory"
mode: "0755"
- name: "Check if cursor theme exists"
ansible.builtin.stat:
- path: "{{ ansible_facts['env'].HOME }}/.local/share/icons/{{ hyprcursor_variant }}"
+ path: "{{ ansible_facts['env']['HOME'] }}/.local/share/icons/{{ hyprcursor_variant }}"
register: hyprcursor_theme_dir
- name: "Download and extract banana cursor"
ansible.builtin.unarchive:
# yamllint disable-line
src: "https://github.com/ful1e5/banana-cursor/releases/download/{{ hyprcursor_version }}/{{ hyprcursor_variant }}.tar.xz"
- dest: "{{ ansible_facts['env'].HOME }}/.local/share/icons"
+ dest: "{{ ansible_facts['env']['HOME'] }}/.local/share/icons"
remote_src: true
when: not hyprcursor_theme_dir.stat.exists