-
Notifications
You must be signed in to change notification settings - Fork 42
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
Zathura auto focus on open #62
Comments
You can try if the new osx integrations fix your issue, see #38 for instructions on how to install |
I have the same problem I can confirm #38 is not fixing the issue. |
Same problem here. |
This is not a direct zathura fix, but it makes zathura completely usable if you're using the yabai tiling window manager for OSX. The idea is to focus the last zathura window created when the The following signal
with the following
works perfectly for me. |
Adding this command to
|
I can't remember why I didn't go with your simpler action! I guess focusing on the last window is a bit more fragile than the last "zathura" window of my script (with the EDIT: @sohaiberrabii I have folded back to my script that specifically selects the zathura app. Otherwise, I would randomly get focused on other windows (I don't fully understand yabai's flickering that seem to refocus on other windows in some conditions; I have tried playing around with the value of |
I don't use yabai. I use rectangle. Has anyone made this work for rectangle? 🤔 Otherwise I might just give yabai a shot 😊 |
I'm using Yabai - that is a fantastic shout on adding a custom event to refocus In fact it reminds me I'm probably not using Yabai to its fullest capibailities |
I also use Rectangle, it's not redundant at the moment for me because some windows get stacked with Yabai but are not accessible unless I half the front window thanks to Rectangle! Yabai might be overkill if you just need Zathura to focus, but I don't see how you could emulate Yabai's signals and rules without... Yabai. |
I've just set up zathura as my default file viewer to open PDF files from the terminal on OS X. However zathura opens the file in the background meaning that I have to cmd tab a couple of times to focus on the window. Is there anything i can set in the zathura rc to enable auto focus on the newly opened window? Zathura was installed via homebrew
The text was updated successfully, but these errors were encountered: