From 892c4056d8e1b83b68edab6dd5c40b8733924e7e Mon Sep 17 00:00:00 2001 From: Ahmed AbdelHalim Date: Thu, 5 Mar 2026 21:43:28 +0100 Subject: Refactor hyprland packages installing --- roles/hyprland/tasks/main.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/roles/hyprland/tasks/main.yml b/roles/hyprland/tasks/main.yml index c8096d13..a86be17d 100644 --- a/roles/hyprland/tasks/main.yml +++ b/roles/hyprland/tasks/main.yml @@ -2,18 +2,17 @@ - name: "Ensure hyprland packages are installed" become: true ansible.builtin.package: - name: "{{ item }}" + name: + - "swaybg" + - "hyprlock" + - "hypridle" + - "hyprpicker" + - "hyprsunset" + - "hyprshot" + - "hyprland" + - "xdg-desktop-portal-gnome" + - "xdg-desktop-portal-hyprland" state: "present" - loop: - - "swaybg" - - "hyprlock" - - "hypridle" - - "hyprpicker" - - "hyprsunset" - - "hyprshot" - - "hyprland" - - "xdg-desktop-portal-gnome" - - "xdg-desktop-portal-hyprland" - name: "Ensure hyprland AUR packages are installed" become: true -- cgit v1.2.3