add the rest of the hypr tools
This commit is contained in:
30
tasks/pkgs/hypridle.yml
Normal file
30
tasks/pkgs/hypridle.yml
Normal 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
|
||||
Reference in New Issue
Block a user