diff --git a/ansible/patchs/chromium_wayland_desktop_entry.patch b/ansible/patchs/chromium_wayland_desktop_entry.patch new file mode 100644 index 0000000..2ef718b --- /dev/null +++ b/ansible/patchs/chromium_wayland_desktop_entry.patch @@ -0,0 +1,5 @@ +108c108 +< Exec=/usr/bin/chromium %U +--- +> Exec=/usr/bin/chromium %U --ozone-platform=wayland + diff --git a/ansible/roles/wayland_fixer/tasks/main.yaml b/ansible/roles/wayland_fixer/tasks/main.yaml new file mode 100644 index 0000000..7385d6a --- /dev/null +++ b/ansible/roles/wayland_fixer/tasks/main.yaml @@ -0,0 +1,6 @@ +- name: Fix wayland on chromium desktop entry + become: true + ansible.posix.patch: + remote_src: false + src: patchs/chromium_wayland_desktop_entry.patch + dest: /usr/share/applications/chromium.desktop diff --git a/ansible/workstation.yaml b/ansible/workstation.yaml index cbe92b6..504169a 100644 --- a/ansible/workstation.yaml +++ b/ansible/workstation.yaml @@ -395,6 +395,10 @@ vars: default_browser: librewolf + - name: Patch desktop entries for wayland + include_role: + name: wayland_fixer + # Final workspaces - name: Clone monakhos ansible.builtin.git: