Open MarcWeber opened 3 months ago
Check Console.app for a crash log and post it here.
See here : https://github.com/koekeishiya/yabai/issues/2372 The docs say switching multiple displays canot be scripted. Is there a recommended way of doing so ? https://github.com/MarcWeber/ruby-timetracker2/blob/master/lib/YABAI.rb#L100 Is the code I tried using. I want to create or switch a tttspace "task3" meaning if the spaces are there switch to them (on all displays) if not create them and cache the space numbers so that its fast. However console outputs "cannot create space because mission-control is active." and other issues say use native workaround.
I ended up with
yabai -m space --display 1 --focus 2 Getting acting space is already .. but space 2 is active on display 2.
Looking at the documentation of move spaces
yabai -m space --display 2
Can I pick a space by id and force a move ?
Don't know if I create 2 new spaces for both displays OSX somehow jumps back to one space at the other display.
Most commands (check the documentation for proper info) can take an optional selector that specifies which entity to act on, in your case: yabai -m space <space_selector> --display 2
https://github.com/koekeishiya/yabai/blob/master/doc/yabai.asciidoc#space
You should release early, doing so.
https://github.com/MarcWeber/swift-yabai-chooser Allow passing a list of words and selecting them fast. Can be used to select or enter a new space. Use input to filter words, then use command-1,2,3 to select word. Or type your own and press enter.
https://github.com/MarcWeber/ruby-timetracker2 Refactored the code I had for WMII. Now also works with YABAI. Early version expect changes. Mind the ROADMAP work in progress but for one display might already be usable. But because its very modular it should be easy to copy paste and adopt to your needs.
Not sure whether an issue is a good way to list projects. YABAI is not yet replacing my wmii setup, also crashing once every 20 min (who cares can be restarted). But getting much closer.