Also enable xremap for X11 sessions
This commit is contained in:
parent
675a4eab18
commit
9fee00b0d8
@ -13,9 +13,3 @@
|
|||||||
- role: gnome-shell
|
- role: gnome-shell
|
||||||
when: "'GNOME' in ansible_env.XDG_CURRENT_DESKTOP"
|
when: "'GNOME' in ansible_env.XDG_CURRENT_DESKTOP"
|
||||||
- role: xremap
|
- role: xremap
|
||||||
when: >
|
|
||||||
'GNOME' in ansible_env.XDG_CURRENT_DESKTOP and
|
|
||||||
ansible_env.XDG_SESSION_TYPE == 'wayland' and (
|
|
||||||
ansible_os_family == "RedHat" or
|
|
||||||
ansible_os_family == "Debian"
|
|
||||||
)
|
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
---
|
---
|
||||||
- assert:
|
- assert:
|
||||||
that: >
|
that: >
|
||||||
'GNOME' in ansible_env.XDG_CURRENT_DESKTOP and
|
'XDG_CURRENT_DESKTOP' in ansible_env and
|
||||||
ansible_env.XDG_SESSION_TYPE == 'wayland'
|
'GNOME' in ansible_env.XDG_CURRENT_DESKTOP and (
|
||||||
|
ansible_env.XDG_SESSION_TYPE == 'wayland' or
|
||||||
|
ansible_env.XDG_SESSION_TYPE == 'x11'
|
||||||
|
)
|
||||||
|
|
||||||
- set_fact:
|
- set_fact:
|
||||||
install_dir: '{{ansible_env.HOME}}/.local/bin'
|
install_dir: '{{ansible_env.HOME}}/.local/bin'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user