flyingpie / windows-terminal-quake

Turn any app into a Quake-style toggleable app.
https://wtq.flyingpie.nl
MIT License
547 stars 35 forks source link

Support multiple modifiers #109

Closed amlamarra closed 2 years ago

amlamarra commented 2 years ago

Correct me if I'm wrong, but it seems like this does not support the use of multiple modifiers for hotkeys. For instance, I'd like to set my hotkey for toggling the terminal to Ctrl+Shift+Z.

flyingpie commented 2 years ago

@amlamarra Thank you for reaching out! Can you show me your config file? This should actually work just fine.

amlamarra commented 2 years ago

Right now, I have the terminal being toggled with just Ctrl+Q. But I'd like to use Ctrl+Shift+Z. Can you show me how to do that?

"Hotkeys": [
    {
        "Modifiers": "Control",
        "Key": "Q"
    }
],
flyingpie commented 2 years ago

Could you try the following:

"Hotkeys": [
    {
        "Modifiers": "Control,Shift",
        "Key": "Q"
    }
],
amlamarra commented 2 years ago

That works, thanks! Might I suggest adding it as an example to the documentation?

flyingpie commented 2 years ago

@amlamarra Done! :)