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