summaryrefslogtreecommitdiffstats
path: root/roles/hyprtheme/tasks
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-03-15 13:04:51 +0100
committerAhmed Abdelhalim <[email protected]>2026-03-15 13:19:50 +0100
commit111a7396c8a2554f799032edc71fe1d83a8acf2b (patch)
treeaab7d08806f8205acdb0dd1b758b44a92b67f9f3 /roles/hyprtheme/tasks
parent0be05816e70bc0cc3ab6bf812fbf5515eddd6b8e (diff)
Refactor theme/wallpaper scripts
Diffstat (limited to 'roles/hyprtheme/tasks')
-rw-r--r--roles/hyprtheme/tasks/main.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/hyprtheme/tasks/main.yml b/roles/hyprtheme/tasks/main.yml
index a31cd296..fd7a1734 100644
--- a/roles/hyprtheme/tasks/main.yml
+++ b/roles/hyprtheme/tasks/main.yml
@@ -30,8 +30,8 @@
dest: "{{ ansible_facts['env']['HOME'] }}/.config/hyprtheme/{{ item }}"
mode: "0755"
loop:
- - "scripts/theme-set"
- - "scripts/theme-bg-next"
+ - "scripts/theme.sh"
+ - "scripts/wallpaper.sh"
- name: "Set default theme"
ansible.builtin.command:
@@ -40,6 +40,6 @@
# This will ignore the errors in the script, because the script restarts some hyprland services, which
# will fail on ssh connection, but having the theme files placed in the right directory will make sure that
# the first setup of hyprtheme is working and doesn't show errors on first boot
- cmd: "{{ ansible_facts['env']['HOME'] }}/.config/hyprtheme/scripts/theme-set {{ hyprtheme_default_theme }}"
+ cmd: "{{ ansible_facts['env']['HOME'] }}/.config/hyprtheme/scripts/theme.sh {{ hyprtheme_default_theme }}"
creates: "{{ ansible_facts['env']['HOME'] }}/.config/hyprtheme/current/hyprland.conf"
failed_when: false