fix(wayland): patch desktop entry of chromium
This commit is contained in:
parent
689eca585e
commit
3f391f0ba5
3 changed files with 15 additions and 0 deletions
5
ansible/patchs/chromium_wayland_desktop_entry.patch
Normal file
5
ansible/patchs/chromium_wayland_desktop_entry.patch
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
108c108
|
||||||
|
< Exec=/usr/bin/chromium %U
|
||||||
|
---
|
||||||
|
> Exec=/usr/bin/chromium %U --ozone-platform=wayland
|
||||||
|
|
6
ansible/roles/wayland_fixer/tasks/main.yaml
Normal file
6
ansible/roles/wayland_fixer/tasks/main.yaml
Normal file
|
@ -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
|
|
@ -395,6 +395,10 @@
|
||||||
vars:
|
vars:
|
||||||
default_browser: librewolf
|
default_browser: librewolf
|
||||||
|
|
||||||
|
- name: Patch desktop entries for wayland
|
||||||
|
include_role:
|
||||||
|
name: wayland_fixer
|
||||||
|
|
||||||
# Final workspaces
|
# Final workspaces
|
||||||
- name: Clone monakhos
|
- name: Clone monakhos
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
|
|
Loading…
Reference in a new issue