-
Notifications
You must be signed in to change notification settings - Fork 45
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
There seems to be no way to match windows using an exact match #63
Comments
Thanks for the detailed report. Your use case seems like something that would be reasonable to expect jumpapp to support. It looks like there are a couple things going on here:
So maybe the easiest path forward is to add an option suppressing PID matching? Or maybe a |
I didn't realize the class match is meant as a backup to a PID match. It makes sense why it does what it does in that context. Having an option to bypass that would be helpful. |
I would also really like to suppress For my use case, I have different instances of Users can work around this though by launching their terminal with a wrapper script, so that the command name will never match (just use For example:
And then kittyClassNameLauncher
|
@erwin Thanks a ton for sharing your workaround! I tried a lot of ways to fix this issue, but your solution is just perfect. My use case is similar: I have two terminals (Alacritty) open, one as a regular terminal to execute commands, one to read and write documentation (Vimwiki) inside Neovim. I prefer separate key bindings for these two terminals.
|
Steps to reproduce:
jumpapp -c Navigator.firefox firefox
Expected behavior:
Actual behavior:
It seems that even though I've tried to specify using the WM_CLASS for matching windows, there doesn't seem to be any way to do an exact match. The WM_CLASS for Firefox and Firefox Developer Edition are
Navigator.firefox
andNavigator.firefoxdeveloperedition
respectively and querying jumpapp with the WM_CLASSNavigator.firefox
seems to matchNavigator.firefoxdeveloperedition
.Possible solution:
The text was updated successfully, but these errors were encountered: