summaryrefslogtreecommitdiffstats
path: root/roles/hyprland/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/hyprland/tasks/main.yml')
-rw-r--r--roles/hyprland/tasks/main.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/hyprland/tasks/main.yml b/roles/hyprland/tasks/main.yml
index 5255a318..fc8c0f29 100644
--- a/roles/hyprland/tasks/main.yml
+++ b/roles/hyprland/tasks/main.yml
@@ -36,6 +36,7 @@
mode: "0755"
loop:
- "/etc/hypr"
+ - "/etc/hypr/scripts"
- "{{ ansible_facts['env']['HOME'] }}/.config/hypr"
- name: "Configure system defaults"
@@ -89,3 +90,13 @@
block: |
# System defaults
source = /etc/hypr/hypridle.conf
+
+- name: "Copy hyprland scripts"
+ become: true
+ ansible.builtin.copy:
+ src: "{{ item.src }}"
+ dest: "{{ item.dest }}"
+ mode: "0755"
+ loop:
+ - src: "scripts/brightness.sh"
+ dest: "/etc/hypr/scripts/brightness.sh"