Skip to content

Add support for wayland #5

@mathix420

Description

@mathix420

I recently switched to wayland, and sadly this program does not work properly.

To make it work on wayland it should use the wtype binary instead of xdotool.
You can also detect the use of a wayland system with the help of these two env variables: XDG_SESSION_TYPE and WAYLAND_DISPLAY.

Similar implementation: https://github.com/Mange/rofi-emoji/blob/1ac0b7600e0b73c8877a2f3863651c775bbd7ddb/clipboard-adapter.sh#L158

I would love to implement this myself but I have zero experience with rust.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions