Skip to content

Global shortcuts trigger_description is always an empty string #312

Open
@checkraisefold

Description

The xdg-desktop-portal spec specifies the trigger_description member of a returned shortcut as a human-readable text describing how to trigger the shortcut, i.e. the assigned keybind.

KDE implements this properly, gathering the assigned triggers to an action, combining them with , as a human readable text, and returning them.

Hyprland does not implement this, instead returning an empty string to the client. This does not follow the spec, and would make for a bad time in applications - applications would be displaying this to remind the user in-app of the keybind for something that they set up.
I'm fairly certain fixing this would require extending the hyprland-global-shortcuts-v1 spec, since there's no way to get the bound shortcuts from the config from Hyprland.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions