Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotkey combination does not work #313

Open
patri9ck opened this issue Oct 4, 2023 · 0 comments
Open

Hotkey combination does not work #313

patri9ck opened this issue Oct 4, 2023 · 0 comments

Comments

@patri9ck
Copy link

patri9ck commented Oct 4, 2023

I am trying to create the following hotkey to run a certain command: You can either press XF86AudioMicMute alone or alt with m or button9.

So this is what I tried:

{XF86AudioMicMute,alt + {m,button9}}
    pamixer --default-source -t && \
    [ "$(pamixer --default-source --get-mute)" = false ] && \
    notify-send 'Microphone unmuted' || \
    notify-send 'Microphone muted'

...results in:

Unknown keysym name: 'XF86AudioMicMutem'.
Unknown keysym name: 'XF86AudioMicMutebutton9'.

And...

XF86AudioMicMute,alt + {m,button9}

...ends up as:

Unknown keysym name: 'XF86AudioMicMute,alt'.
Unknown keysym name: 'XF86AudioMicMute,alt'.

Finally, now with a space after the first comma...

{XF86AudioMicMute, alt + {m,button9}}

...gives me the same:

Unknown keysym name: 'XF86AudioMicMutem'.
Unknown keysym name: 'XF86AudioMicMutebutton9'.

What is wrong here?

I know I could just separate the hotkeys, so I have two instead of one with the same commands but why is this not working?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant