Skip to content

execute commands in the middle of a keychord #330

Description

@savolla

Hello, first of all thanks a lot for creating sxhkd. I have a project in mind for implementing keychords but also showing hints using notify-send in the middle of a keychord. I want it to act like which-key in spacemacs/doom emacs. To be clear I'll share my example config. but it doesn't work

alt + space;
    notify-send "h: help, s: screenshot, l: launch, "

alt + space; h;
    zathura ~/resource/notes/org/savolla-keybindings.pdf

alt + space; s;
    flameshot gui

alt + space; l;
    notify-send "f: firefox, l: librewolf, c: chrome"

alt + space; l; f;
    firefox
alt + space; l; l;
    librewolf
alt + space; l; c;
    chrome

I hope you understand what I'm trying to do. I already read the man page but couldn't find anything related to this. or I'm just missing something.

Activity

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

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