Skip to content

Add Wayland support #3

@Oples

Description

@Oples

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions