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/hyprpaper.yml Normal file
View File

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