2024-08-22 14:11:39 +02:00
|
|
|
# balance space
|
|
|
|
cmd - 0x2A : yabai -m space --balance
|
|
|
|
|
2024-08-22 15:31:58 +02:00
|
|
|
# resize horizontally - cmd + ,.
|
2024-08-22 14:11:39 +02:00
|
|
|
cmd - 0x2B : yabai -m window --resize left:-20:0 || yabai -m window --resize right:-20:0
|
|
|
|
cmd - 0x2F : yabai -m window --resize left:20:0 || yabai -m window --resize right:20:0
|
|
|
|
|
|
|
|
# resize vertically
|
|
|
|
cmd - 0x29 : yabai -m window --resize top:0:-20 || yabai -m window --resize bottom:0:-20
|
|
|
|
cmd - 0x27 : yabai -m window --resize top:0:20 || yabai -m window --resize bottom:0:20
|
|
|
|
|
|
|
|
# focus windows
|
|
|
|
cmd - 0x21 : yabai -m window --focus prev || yabai -m window --focus first
|
|
|
|
cmd - 0x1E : yabai -m window --focus next || yabai -m window --focus last
|
|
|
|
|
|
|
|
# swap recent
|
|
|
|
cmd - 0x2C : yabai -m window --swap prev || yabai -m window --swap first
|
2024-08-22 15:31:58 +02:00
|
|
|
|
|
|
|
# focus spaces
|
|
|
|
cmd - 0 : yabai -m space --focus first
|
|
|
|
cmd - 1 : yabai -m space --focus last
|
|
|
|
cmd - 2 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 1))
|
|
|
|
cmd - 3 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 2))
|
|
|
|
cmd - 4 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 3))
|
|
|
|
cmd - 5 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 4))
|
|
|
|
cmd - 6 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 5))
|
|
|
|
cmd - 7 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 6))
|
|
|
|
cmd - 8 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 7))
|
|
|
|
cmd - 9 : yabai -m space --focus $(($(yabai -m query --spaces | jq length) - 8))
|