Feature Request
Add Wayland support for the script
Proposal
Current support is for X11 only via xinput.
To support Wayland the command libinput should be used
2 options are available
# Return the DE in use (generic)
loginctl show-session $(loginctl show-user $(whoami) -p Display --value) -p Type --value
# Check for Wayland if env is set (Wayland specific)
if [[ -z "${WAYLAND_DISPLAY}" ]]; then
Feature Request
Add Wayland support for the script
Proposal
Current support is for X11 only via
xinput.To support Wayland the command
libinputshould be used2 options are available