summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed AbdelHalim <[email protected]>2026-01-09 23:10:04 +0100
committerAhmed AbdelHalim <[email protected]>2026-01-09 23:13:32 +0100
commit64673db07acf45b0d0556fb80b7e61d90a77f222 (patch)
tree9da053110160a20fb22bd94bf589124062a8921e
parentcb80abab3c21315079ed7c8978bcec9ad0fa7e96 (diff)
Replace hyprlock with package
Since the hyprland role installs hyprland and all the required dependencies that are needed (that can't function on their own), it's better to just replace the hyprlock role with just the package needed in the hyprland role
-rw-r--r--roles/hyprland/meta/main.yml1
-rw-r--r--roles/hyprland/tasks/main.yml1
-rw-r--r--roles/hyprlock/meta/argument_specs.yml6
-rw-r--r--roles/hyprlock/meta/main.yml11
-rw-r--r--roles/hyprlock/tasks/main.yml6
5 files changed, 1 insertions, 24 deletions
diff --git a/roles/hyprland/meta/main.yml b/roles/hyprland/meta/main.yml
index d6670e78..79117f19 100644
--- a/roles/hyprland/meta/main.yml
+++ b/roles/hyprland/meta/main.yml
@@ -9,7 +9,6 @@ dependencies:
- role: "brightnessctl"
- role: "waybar"
- role: "swaybg"
- - role: "hyprlock"
galaxy_info:
author: "a14m"
description: "Install hyprland"
diff --git a/roles/hyprland/tasks/main.yml b/roles/hyprland/tasks/main.yml
index 76e9f2d1..ab93b60e 100644
--- a/roles/hyprland/tasks/main.yml
+++ b/roles/hyprland/tasks/main.yml
@@ -5,6 +5,7 @@
name: "{{ item }}"
state: "present"
loop:
+ - "hyprlock"
- "hyprland"
- name: "Configure greetd"
diff --git a/roles/hyprlock/meta/argument_specs.yml b/roles/hyprlock/meta/argument_specs.yml
deleted file mode 100644
index 6b4ca676..00000000
--- a/roles/hyprlock/meta/argument_specs.yml
+++ /dev/null
@@ -1,6 +0,0 @@
----
-argument_specs:
- main:
- short_description: "Install hyprlock on ArchLinux"
- description: "Install hyprlock on ArchLinux"
- options: {}
diff --git a/roles/hyprlock/meta/main.yml b/roles/hyprlock/meta/main.yml
deleted file mode 100644
index 3f6b4c32..00000000
--- a/roles/hyprlock/meta/main.yml
+++ /dev/null
@@ -1,11 +0,0 @@
----
-dependencies: []
-galaxy_info:
- author: "a14m"
- description: "Install hyprlock on ArchLinux"
- license: "MIT"
- min_ansible_version: "2.18"
- platforms:
- - name: "ArchLinux"
- versions:
- - "all"
diff --git a/roles/hyprlock/tasks/main.yml b/roles/hyprlock/tasks/main.yml
deleted file mode 100644
index 8ccb3f7a..00000000
--- a/roles/hyprlock/tasks/main.yml
+++ /dev/null
@@ -1,6 +0,0 @@
----
-- name: "Ensure hyprlock is installed"
- become: true
- ansible.builtin.package:
- name: "hyprlock"
- state: "present"