diff --git a/tasks/config/xdg_desktop_portal_hyprland.yml b/tasks/config/xdg_desktop_portal_hyprland.yml index c2e456a..b638a2e 100644 --- a/tasks/config/xdg_desktop_portal_hyprland.yml +++ b/tasks/config/xdg_desktop_portal_hyprland.yml @@ -6,3 +6,4 @@ pkg_deps: "{{ pkgconfig.xdg_desktop_portal_hyprland.pkg_deps }}" build_deps: "{{ pkgconfig.xdg_desktop_portal_hyprland.build_deps[ansible_os_family] }}" git_path: "{{ d_tempdir.path }}/xdg-desktop-portal-hyprland" + installed_files: "{{ pkgconfig.xdg_desktop_portal_hyprland.build_installed_files }}" diff --git a/tasks/src/aquamarine.yml b/tasks/src/aquamarine.yml index a4c2754..650c32f 100644 --- a/tasks/src/aquamarine.yml +++ b/tasks/src/aquamarine.yml @@ -1,6 +1,4 @@ - name: Remove existing install {{ pkg }} - when: - - hyprland_clean become: true loop: "{{ aquamarine.installed_files }}" loop_control: diff --git a/tasks/src/hyprcursor.yml b/tasks/src/hyprcursor.yml index e46377d..3130722 100644 --- a/tasks/src/hyprcursor.yml +++ b/tasks/src/hyprcursor.yml @@ -1,6 +1,4 @@ - name: Remove existing install of {{ pkg }} - when: - - hyprland_clean become: true loop: "{{ hyprcursor.installed_files }}" loop_control: diff --git a/tasks/src/hyprgraphics.yml b/tasks/src/hyprgraphics.yml index 68b4bc5..8522203 100644 --- a/tasks/src/hyprgraphics.yml +++ b/tasks/src/hyprgraphics.yml @@ -1,6 +1,4 @@ - name: Remove existing install of {{ pkg }} - when: - - hyprland_clean become: true loop: "{{ hyprgraphics.installed_files }}" loop_control: diff --git a/tasks/src/hypridle.yml b/tasks/src/hypridle.yml index 043bc17..0910c7e 100644 --- a/tasks/src/hypridle.yml +++ b/tasks/src/hypridle.yml @@ -1,6 +1,4 @@ - name: Remove existing install of {{ pkg }} - when: - - hyprland_clean become: true loop: "{{ hypridle.installed_files }}" loop_control: diff --git a/tasks/src/hyprland.yml b/tasks/src/hyprland.yml index 513ad35..8402073 100644 --- a/tasks/src/hyprland.yml +++ b/tasks/src/hyprland.yml @@ -1,6 +1,4 @@ - name: Remove existing install of {{ pkg }} - when: - - hyprland_clean become: true loop: "{{ hyprland.installed_files }}" loop_control: diff --git a/tasks/src/hyprland_protocols.yml b/tasks/src/hyprland_protocols.yml index a0bfbd2..96cd81a 100644 --- a/tasks/src/hyprland_protocols.yml +++ b/tasks/src/hyprland_protocols.yml @@ -1,8 +1,6 @@ # vim: set filetype=yaml.ansible : --- - name: Remove existing install of {{ pkg }} - when: - - hyprland_clean become: true loop: "{{ hyprland_protocols.installed_files }}" loop_control: diff --git a/tasks/src/hyprland_qt_support.yml b/tasks/src/hyprland_qt_support.yml index 62cca38..aea3868 100644 --- a/tasks/src/hyprland_qt_support.yml +++ b/tasks/src/hyprland_qt_support.yml @@ -1,6 +1,4 @@ - name: Remove existing install of {{ pkg }} - when: - - hyprland_clean become: true loop: "{{ hyprland_qt_support.installed_files }}" loop_control: diff --git a/tasks/src/xdg_desktop_portal_hyprland.yml b/tasks/src/xdg_desktop_portal_hyprland.yml index 5145e4a..da588ea 100644 --- a/tasks/src/xdg_desktop_portal_hyprland.yml +++ b/tasks/src/xdg_desktop_portal_hyprland.yml @@ -1,7 +1,5 @@ - name: Remove existing install {{ pkg }} - when: - - hyprland_clean - become: "{{ ext_become }}" + become: true loop: "{{ xdg_desktop_portal_hyprland.installed_files }}" loop_control: loop_var: file diff --git a/vars/main.yml b/vars/main.yml index c8493c8..b4b4340 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -26,6 +26,6 @@ defaults: # - paths.go: $PREFIX/go # - paths.pipx: $PREFIX/pipx +always_clean_src: false ## Extra config that usually will not need to be changed -hyprland_clean: false hyprgitbase: https://github.com/hyprwm