-
-
Notifications
You must be signed in to change notification settings - Fork 650
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
Setting up Rules for "Role" doesn't work #396
Comments
Aside from that...
|
What is your end goal here? All windows that are not of role AXWindow and subrole AXStandardWindow is treated as floating by default. For more complicated things I think using signals might be more appropriate? |
Okay, I got it resolved. I had some settings to only manage the main screen of Outlook. But the order was wrong. I think that's what caused the AXHelpTag to be managed. Now I don't setup a specific rule to manage the Outlook main screen, just to not manage all the others. |
My bad, it still doesn't work the way I want. How is the priority of screens detected? Basically, Outlook has one main window that I want to be managed on a specific screen. All the others I want to be floating and unmanaged. How to accomplish this? I have this now, but I'm not sure how the rules are applied. The windows that start with
|
Rules are applied in the order they were added. You might want to enable debug output to inspect the |
I've inspected this, but it doesn't seem to be like the window spawns with a title. At least, I don't see a Here's the log:
|
Are you on the latest version (v2.2.2)? I noticed you are getting the following message: Edit: Created issue #410 for the |
In the latest version (2.4.0) you should now be able to use the following rule:
|
It might not be supported, if so, please consider this a feature request.
Regarding rules, I assumed one could use whatever is coming from the query command to use in the rules command. This seems to be not the case. As the docs say: "[..] windows that match app name and optionally title [..]".
I have a problem where Outlook is using windows to create tooltips. This results in flickering behaviour. Therefore I'd like to have one of these options:
Use anything from the query command to select a screen
E.g.
yabai -m rule --add role=AXHelpTag manage=off
Use a min-height (and potentially all properties in
frame
) to exclude windows from being managedE.g.
yabai -m rule --add frame.h="<20" manage=off
The result of
sleep 6 && yabai -m query --windows --space
(I use sleep to get the windows in the way I want to query them):The text was updated successfully, but these errors were encountered: