-
-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Feature Request - Add Labels for Displays #1616
Comments
I use yabai -m display --focus west
yabai -m display --focus south
yabai -m display --focus north
yabai -m display --focus east And equally for moving windows yabai -m window --display west
yabai -m window --display south
yabai -m window --display north
yabai -m window --display east If you already have it in a script you could assign it to something else LEFT=<UUID-FOR-LEFT-SCREEN>
RIGHT=<UUID-FOR-RIGHT-SCREEN> |
Thank you, @brorbw. That's a good set of suggestions. Moving windows between displays is covered using the tools you've suggested, but sometimes I have need to move across multiple displays to get to the target. I'm using screens by UUID currently for their various references, but this means I still have to store mappings between the UUID and 'human readable' display names - We're already attaching labels to spaces, so why not just add them as an optional field/reference in yabai? |
This should cover moving across multiple displays
Equally for moving windows:
What label would you like to be assigned? You should be able to use the display index? |
On master it is possible to change how arrangement indices are interpreted (e.g. sort by x-coordinate/y-coordinate): #550 (comment) This should allow for a more intuitive usage of default indices (1 to display_count). |
Implemented labels for displays on master. |
Fixed in v7.0.0. |
It would be very useful from a scripting perspective to be able to assign a label to a display and use that in DISPLAY_SEL.
For instance, 'left' or 'right' for displays is a lot easier to reason about than magical UUIDs, especially for commands involving sending spaces and windows to specific displays.
The text was updated successfully, but these errors were encountered: