From ed18c43b3f8cc2cbcbb2edf23384576264a7577a Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Fri, 9 Jan 2026 23:10:04 +0100 Subject: 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 --- roles/hyprland/meta/main.yml | 1 - roles/hyprland/tasks/main.yml | 1 + roles/hyprlock/meta/argument_specs.yml | 6 ------ roles/hyprlock/meta/main.yml | 11 ----------- roles/hyprlock/tasks/main.yml | 6 ------ 5 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 roles/hyprlock/meta/argument_specs.yml delete mode 100644 roles/hyprlock/meta/main.yml delete mode 100644 roles/hyprlock/tasks/main.yml 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" -- cgit v1.2.3