Closed BlkPingu closed 1 year ago
Remove yabai -m rule --add app="iTerm2" manage=on
from your config.
Doesn't this affect all windows? I want iTerm to be managed, just not the floating hotkey window.
yabai will automatically manage all applications/windows given that the layout is set to bsp/stack. The rule is specifically to target applications/windows that misbehave. This usually applies to cross-platform software where macOS is not the primar target.
manage=<BOOL_SEL>
Window should be managed (tile vs float).
Most windows will be managed automatically, so this should mainly be used to make a window float.
I no longer use iTerm, but last time I did it was detected without having to register any rules to make it work. The rule you use will make yabai force the tiling algorithm to apply to all ui-elements created by iTerm that is classified as a window by the OS, regardless of other properties.
holy shit that worked. Thanks you so much!
This issue seems resolved, so it should be closed @BlkPingu :)
I'm running into this same issue with the iTerm2 visor hotkey window.
https://github.com/koekeishiya/yabai/assets/2790092/a3b1e164-18eb-42b8-94f8-b95d31ff600e
My yabairc file is the same as the default installation as you can see at the end of the video so I don't have manage=on
set.
Any ideas what might be going on?
@AlJohri I have no idea why, but adding yabai -m rule --add app="iTerm2" manage=off
to yabairc, then restarting yabai (by killall yabai
), then removing the above line, then restarting yabai fixed it. Strange.
Issue description
What could cause the currently focused window to get influenced by Yabai when triggering the iTerm hotkey window and how to prevent this? I want the hotkey window to be entirely ignored. Since it's floating that should apply anyways, but it does not.
Expected behavior: When triggering the hotkey window, all currently by Yabai managed windows should stay the same.
Actual behavior: When triggering the hotkey window, space is claimed by Yabai for an "invisible" window.
Yaban Version: v5.0.2 MacOS Version: 13.1
Video displaying the unexpected behavior
https://user-images.githubusercontent.com/28692167/214208098-e6990c59-cdbe-4aff-a570-ca6a9d6c35e1.mov
iTerm configuration for the hotkey window
.yabairc