diff options
Diffstat (limited to 'roles/hyprshare/tasks')
| -rw-r--r-- | roles/hyprshare/tasks/main.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/hyprshare/tasks/main.yml b/roles/hyprshare/tasks/main.yml index 8fd53138..68d318ae 100644 --- a/roles/hyprshare/tasks/main.yml +++ b/roles/hyprshare/tasks/main.yml @@ -14,6 +14,7 @@ name: "hyprland-preview-share-picker" state: "present" use: "yay" + when: hyprshare_install_preview # This is a workaround the installation failing # because the log file is created with aur_builder as an owner @@ -22,4 +23,11 @@ ansible.builtin.file: path: "/tmp/hyprland-preview-share-picker.log" state: "absent" + when: hyprshare_install_preview +- name: "Template user share picker configuration" + ansible.builtin.template: + src: "xdph.conf.j2" + dest: "{{ ansible_facts['env']['HOME'] }}/.config/hypr/xdph.conf" + mode: "0644" + notify: "Restart xdg-desktop-portal-hyprland" |
