-
-
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
Add space index and display index fields to signals #2152
Labels
suggestion
Request for new feature or some form of enhancement
Comments
koekeishiya
added
the
suggestion
Request for new feature or some form of enhancement
label
Mar 10, 2024
koekeishiya
added a commit
that referenced
this issue
Mar 10, 2024
koekeishiya
added
the
addressed on master; not released
Fixed upstream, but not yet released
label
Mar 10, 2024
Fixed in v7.0.0. |
koekeishiya
removed
the
addressed on master; not released
Fixed upstream, but not yet released
label
Mar 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Space and display signals currently pass the internal macOS id, and not the user-facing index that yabai uses as a parameter to space and display commands.
This makes it a bit tedious to use these signals properly.
space_created will pass an additional env.var.
$YABAI_SPACE_INDEX
.space_changed will pass two additional env.vars.
$YABAI_SPACE_INDEX
and$YABAI_RECENT_SPACE_INDEX
.display_added/moved/resized will pass an additional env.var.
$YABAI_DISPLAY_INDEX
.display_changed will pass two additional env.vars.
$YABAI_DISPLAY_INDEX
and$YABAI_RECENT_DISPLAY_INDEX
.The text was updated successfully, but these errors were encountered: