summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-02-23 08:40:40 +0100
committerAhmed Abdelhalim <[email protected]>2026-02-23 08:40:40 +0100
commit4916784d44a6dad5b90af11c675f6c11198b910b (patch)
treef7c500f6bb95af4274e84238402a963e514bc4d0
parentb0766b7386bba82c20a2706c3829a6b7dfdf6a84 (diff)
Move hyprshutdown into hyprland role as it's not standalone
hyprshutdown does work only with hyprland therefore it makes sense to keep it internally in the hyprland role and not as a standalone role
-rw-r--r--roles/hyprland/meta/main.yml1
-rw-r--r--roles/hyprland/tasks/main.yml10
-rw-r--r--roles/hyprshutdown/meta/argument_specs.yml6
-rw-r--r--roles/hyprshutdown/meta/main.yml12
-rw-r--r--roles/hyprshutdown/tasks/main.yml8
5 files changed, 10 insertions, 27 deletions
diff --git a/roles/hyprland/meta/main.yml b/roles/hyprland/meta/main.yml
index bc3c0c79..a657398b 100644
--- a/roles/hyprland/meta/main.yml
+++ b/roles/hyprland/meta/main.yml
@@ -18,7 +18,6 @@ dependencies:
- role: "tofi"
- role: "hyprcursor"
- role: "hyprtheme"
- - role: "hyprshutdown"
galaxy_info:
author: "a14m"
description: "Install hyprland"
diff --git a/roles/hyprland/tasks/main.yml b/roles/hyprland/tasks/main.yml
index 7cea14ab..bd0d9f80 100644
--- a/roles/hyprland/tasks/main.yml
+++ b/roles/hyprland/tasks/main.yml
@@ -15,6 +15,16 @@
- "xdg-desktop-portal-gtk"
- "xdg-desktop-portal-hyprland"
+- name: "Ensure hyprland AUR packages are installed"
+ become: true
+ become_user: "aur_builder"
+ kewlfft.aur.aur:
+ name: "{{ item }}"
+ state: "present"
+ use: "yay"
+ loop:
+ - "hyprshutdown"
+
- name: "Configure greetd"
become: true
ansible.builtin.copy:
diff --git a/roles/hyprshutdown/meta/argument_specs.yml b/roles/hyprshutdown/meta/argument_specs.yml
deleted file mode 100644
index e6a24b29..00000000
--- a/roles/hyprshutdown/meta/argument_specs.yml
+++ /dev/null
@@ -1,6 +0,0 @@
----
-argument_specs:
- main:
- short_description: "Install hyprshutdown"
- description: "Install hyprshutdown"
- options: {}
diff --git a/roles/hyprshutdown/meta/main.yml b/roles/hyprshutdown/meta/main.yml
deleted file mode 100644
index cc09be8d..00000000
--- a/roles/hyprshutdown/meta/main.yml
+++ /dev/null
@@ -1,12 +0,0 @@
----
-dependencies:
- - role: "yay"
-galaxy_info:
- author: "a14m"
- description: "Install hyprshutdown"
- license: "MIT"
- min_ansible_version: "2.18"
- platforms:
- - name: "ArchLinux"
- versions:
- - "all"
diff --git a/roles/hyprshutdown/tasks/main.yml b/roles/hyprshutdown/tasks/main.yml
deleted file mode 100644
index 3986905c..00000000
--- a/roles/hyprshutdown/tasks/main.yml
+++ /dev/null
@@ -1,8 +0,0 @@
----
-- name: "Ensure hyprshutdown is installed"
- become: true
- become_user: "aur_builder"
- kewlfft.aur.aur:
- name: "hyprshutdown"
- state: "present"
- use: "yay"