-
-
Notifications
You must be signed in to change notification settings - Fork 643
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
Possible solution for detecting App Exposé and Windows Exposé signals and spaces reordering #2026
Comments
yabai already knows the difference between app expose, window expose and mission control, but does not propagate that information through the signal (I didn't think it would matter to the user, but I guess I was mistaken). It should be trivial to either add an environment variable to inform how mission control was activated, or create separate signals. I do not know of any way to track when spaces themselves are reordered, so that problem I can't fix. |
Ah, that is good to know! May I officially suggest it as a feature request? 🙂 |
Possible values present when entering and exiting mission-control:
|
Thanks, that's great! 😁 Now I can fix my script that position my Spaces labels below the thumbnails when in Windows Exposé mode. |
I'm writing a little script that listens for an event for when you enter and exit Mission Control (and then does something).
I use this:
These work well, but I have two additional requests:
I want to distinguish between "App Exposé" mode, which displays windows from the current application only, and "Windows Exposé" mode, which provides an overview of all open windows grouped by application.
I am also seeking a method to detect when a space thumbnail is moved (dragged to another position) in "App Exposé" mode. Currently, there is no
spaces_reordered
event available (although it may be added in the future, @koekeishiya?). Is there an alternative approach?The text was updated successfully, but these errors were encountered: