From 111a7396c8a2554f799032edc71fe1d83a8acf2b Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sun, 15 Mar 2026 13:04:51 +0100 Subject: Refactor theme/wallpaper scripts --- roles/hyprtheme/tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'roles/hyprtheme/tasks') 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 -- cgit v1.2.3