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

[FEAT]: blacklist a specific process #12

Open
WantToLearnJapanese opened this issue May 3, 2023 · 2 comments
Open

[FEAT]: blacklist a specific process #12

WantToLearnJapanese opened this issue May 3, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@WantToLearnJapanese
Copy link

Is your feature request related to a problem? Please describe.
I am using PyCharm (Jetbrain's Python IDE) for developing and using many shortcuts with it. Some hotkeys for whkd overlap, so I want to register it on the blacklist for whkd.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
Just passthrough specific key combinations directly to PyCharm instead of being hooked by whkd? I mean, for some hotkey-wisely passthrough keys to the pycharm64.exe process?

@WantToLearnJapanese WantToLearnJapanese added the enhancement New feature or request label May 3, 2023
@okayno14
Copy link

And i think may be useful add some option for game mode or fullscreen applications: let these apps catch firstly all input.

@kjetil793
Copy link

You can use a second whkdrc file without any keybindings defined

  1. In your default config define a keybinding to switch to another whkd config.
# whkdrc
.shell cmd
# When enabled, all keybindings are disabled except for alt+shift+p
ctrl + shift + p        : komorebic toggle-pause && taskkill /f /im whkd.exe && start /b whkd -c %USERPROFILE%\.config\whkdrc.pause
  1. Create a second config where you just define a keybinding to return to default keybindings.
# whkdrc.pause
.shell cmd
# return to default keybindings.
ctrl + shift + p        : taskkill /f /im whkd.exe && start /b whkd && komorebic toggle-pause

Solution inspired by GlazeWM´s wm-disable-binding-mode keybinding.

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

No branches or pull requests

3 participants