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

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

View File

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

View File

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

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

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

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

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