summaryrefslogtreecommitdiffstats
path: root/roles/hyprland/tasks
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-03-06 02:31:05 +0100
committerAhmed Abdelhalim <[email protected]>2026-03-06 03:11:08 +0100
commita38bb05301efe2fb179a8dd622e16e8fd70250cb (patch)
tree9498e241d517fb48a39af50462b3602c5dbfb414 /roles/hyprland/tasks
parent1a197ba880a21e31bc9b8aa35fe2b1b09005d119 (diff)
Add the role for installing sharing/w window previews
Diffstat (limited to 'roles/hyprland/tasks')
-rw-r--r--roles/hyprland/tasks/main.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/roles/hyprland/tasks/main.yml b/roles/hyprland/tasks/main.yml
index 69e91c54..c0135a4e 100644
--- a/roles/hyprland/tasks/main.yml
+++ b/roles/hyprland/tasks/main.yml
@@ -76,6 +76,8 @@
dest: "/etc/hypr/hyprlock.conf"
- src: "hypr/hypridle.conf.j2"
dest: "/etc/hypr/hypridle.conf"
+ - src: "hypr/xdph.conf.j2"
+ dest: "/etc/hypr/xdph.conf"
- src: "hypr/hyprland.conf.j2"
dest: "/etc/hypr/hyprland.conf"
- src: "uwsm/env.j2"
@@ -109,6 +111,17 @@
# System defaults
source = /etc/hypr/hypridle.conf
+ - name: "Configure user xdg-desktop-portal-hyprland"
+ ansible.builtin.blockinfile:
+ path: "{{ ansible_facts['env']['HOME'] }}/.config/hypr/xdph.conf"
+ state: "present"
+ prepend_newline: true
+ append_newline: true
+ marker: "# ==== {mark} ANSIBLE HYPRSHARE CONFIG"
+ block: |
+ # System defaults
+ source = /etc/hypr/xdph.conf
+
- name: "Copy hyprland scripts"
become: true
ansible.builtin.copy: