feat: Add mimeo installation
Installed and linked to replace xdg-open which is expected by many programmes.
This commit is contained in:
parent
96a63c7cc9
commit
da3adb0887
2 changed files with 20 additions and 0 deletions
10
roles/wayland/handlers/main.yaml
Normal file
10
roles/wayland/handlers/main.yaml
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
- name: Link xdg-open to mimeo
|
||||||
|
become: true
|
||||||
|
ansible.builtin.file:
|
||||||
|
src: /usr/bin/mimeo
|
||||||
|
dest: /usr/bin/xdg-open
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
state: link
|
||||||
|
listen: mimeo-installed
|
||||||
|
|
@ -52,3 +52,13 @@
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
- qt
|
- qt
|
||||||
|
|
||||||
|
- name: Install mimeo for file opening
|
||||||
|
community.general.xbps:
|
||||||
|
name:
|
||||||
|
- mimeo
|
||||||
|
state: "{{ desired_package_state | default('present') }}"
|
||||||
|
tags:
|
||||||
|
- packages
|
||||||
|
- mimeo
|
||||||
|
notify: mimeo-installed
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue