|
|
|
@ -3,26 +3,27 @@ |
|
|
|
# |
|
|
|
# General |
|
|
|
# |
|
|
|
ctrl + cmd - r : skhd -r |
|
|
|
shift + cmd - r : skhd -r; launchctl kickstart -k "gui/${UID}/homebrew.mxcl.yabai"; launchctl kickstart -k "gui/${UID}/homebrew.mxcl.spacebar" |
|
|
|
|
|
|
|
# |
|
|
|
# Applications |
|
|
|
# |
|
|
|
shift + cmd - space : alacritty |
|
|
|
ctrl + cmd - 0x29 : alacritty |
|
|
|
|
|
|
|
# |
|
|
|
# Window management |
|
|
|
# |
|
|
|
|
|
|
|
# https://github.com/koekeishiya/yabai/issues/113#issuecomment-511055425 |
|
|
|
cmd - space : yabai -m window --focus "$(yabai -m query --windows | jq -re "sort_by(.display, .space, .frame.x, .frame.y, .id) | map(select(.subrole != \"AXUnknown\")) | reverse | nth(index(map(select(.focused == 1))) - 1).id")" |
|
|
|
ctrl + cmd - space : yabai -m window --focus "$(yabai -m query --windows | jq -re "sort_by(.display, .space, .frame.x, .frame.y, .id) | map(select(.subrole != \"AXUnknown\")) | nth(index(map(select(.focused == 1))) - 1).id")" |
|
|
|
cmd - space : yabai -m window --focus "$(yabai -m query --windows | jq -re "sort_by(.display, .space, .frame.x, .frame.y, .id) | map(select(.subrole != \"AXUnknown\")) | reverse | nth(index(map(select(.focused == 1))) - 1).id")" || yabai -m window --focus first |
|
|
|
ctrl + cmd - space : yabai -m window --focus "$(yabai -m query --windows | jq -re "sort_by(.display, .space, .frame.x, .frame.y, .id) | map(select(.subrole != \"AXUnknown\")) | nth(index(map(select(.focused == 1))) - 1).id")" || yabai -m window --focus first |
|
|
|
|
|
|
|
cmd - return : yabai -m window --toggle zoom-fullscreen |
|
|
|
cmd - h : yabai -m window --focus west |
|
|
|
cmd - j : yabai -m window --focus south |
|
|
|
cmd - k : yabai -m window --focus north |
|
|
|
cmd - l : yabai -m window --focus east |
|
|
|
cmd - h : yabai -m window --focus west || yabai -m window --focus first |
|
|
|
cmd - j : yabai -m window --focus south || yabai -m window --focus first |
|
|
|
cmd - k : yabai -m window --focus north || yabai -m window --focus first |
|
|
|
cmd - l : yabai -m window --focus east || yabai -m window --focus first |
|
|
|
|
|
|
|
ctrl + cmd - h : yabai -m window --warp west |
|
|
|
ctrl + cmd - j : yabai -m window --warp south |
|
|
|
|