add the rest of the hypr tools

This commit is contained in:
Matthew Stobbs
2025-03-12 15:11:48 -06:00
parent 8478dbaf8f
commit f8d4fa869b
36 changed files with 858 additions and 25 deletions

30
tasks/pkgs/hyprlock.yml Normal file
View File

@@ -0,0 +1,30 @@
# vim: set filetype=yaml.ansible :
---
- name: Add hyprlock
when:
- hyprlock_configured is undefined
block:
- name: Load hyprlock config
ansible.builtin.include_tasks:
file: config/hyprlock.yml
- name: Append hyprlock pkg_deps
loop: "{{ hyprlock.pkg_deps }}"
loop_control:
loop_var: hyprlock_pkg_dep
vars:
pkg: "{{ hyprlock_pkg_dep }}"
ansible.builtin.include_tasks:
file: "pkgs/{{ hyprlock_pkg_dep }}.yml"
- name: Append hyprlock build_deps to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprlock.build_deps }}"
- name: Append hyprlock to pkg_src
ansible.builtin.set_fact:
pkg_src: "{{ pkg_src + ['hyprlock'] }}"
- name: Set hyprlock_configured
ansible.builtin.set_fact:
hyprlock_configured: true