summaryrefslogtreecommitdiffstats
path: root/roles
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
commited18c43b3f8cc2cbcbb2edf23384576264a7577a (patch)
tree9da053110160a20fb22bd94bf589124062a8921e /roles
parentf5bbe772a62bf4c8c6a2dad60e178138ec0fdea3 (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
Diffstat (limited to 'roles')
-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"