Adjust yabai bindings to work better for me (don't follow focus when sending windows places, mostly)

This commit is contained in:
Danielle McLean 2019-10-17 13:41:13 +11:00
parent 3ed79aae3d
commit 6a82ddb8f2
Signed by: 00dani
GPG key ID: FF6F9216852288FF

View file

@ -4,12 +4,12 @@ rctrl - return : ~/.local/bin/kit new-window --window-type os
# focus window # focus window
rctrl - j : yabai -m window --focus next rctrl - j : yabai -m window --focus next
rctrl - k : yabai -m window --focus prev rctrl - k : yabai -m window --focus prev
cmd - tab : yabai -m window --focus prev cmd - tab : yabai -m window --focus next
cmd + shift - tab : yabai -m window --focus next cmd + shift - tab : yabai -m window --focus prev
# swap window # swap window
rctrl + shift - j : yabai -m window --swap next rctrl + shift - j : yabai -m window --swap next
rctrl + shift - k : yabai -m window --swap north rctrl + shift - k : yabai -m window --swap prev
# balance size of windows (mod =) # balance size of windows (mod =)
rctrl - 0x18 : yabai -m space --balance rctrl - 0x18 : yabai -m space --balance
@ -52,30 +52,30 @@ rctrl - 8 : yabai -m space --focus 8
rctrl - 9 : yabai -m space --focus 9 rctrl - 9 : yabai -m space --focus 9
rctrl - 0 : yabai -m space --focus 10 rctrl - 0 : yabai -m space --focus 10
# send window to desktop and follow focus # send window to desktop
shift + cmd - x : yabai -m window --space recent; yabai -m space --focus recent shift + cmd - x : yabai -m window --space recent
shift + cmd - z : yabai -m window --space prev; yabai -m space --focus prev shift + cmd - z : yabai -m window --space prev
shift + cmd - c : yabai -m window --space next; yabai -m space --focus next shift + cmd - c : yabai -m window --space next
shift + rctrl - 1 : yabai -m window --space 1; yabai -m space --focus 1 shift + rctrl - 1 : yabai -m window --space 1
shift + rctrl - 2 : yabai -m window --space 2; yabai -m space --focus 2 shift + rctrl - 2 : yabai -m window --space 2
shift + rctrl - 3 : yabai -m window --space 3; yabai -m space --focus 3 shift + rctrl - 3 : yabai -m window --space 3
shift + rctrl - 4 : yabai -m window --space 4; yabai -m space --focus 4 shift + rctrl - 4 : yabai -m window --space 4
shift + rctrl - 5 : yabai -m window --space 5; yabai -m space --focus 5 shift + rctrl - 5 : yabai -m window --space 5
shift + rctrl - 6 : yabai -m window --space 6; yabai -m space --focus 6 shift + rctrl - 6 : yabai -m window --space 6
shift + rctrl - 7 : yabai -m window --space 7; yabai -m space --focus 7 shift + rctrl - 7 : yabai -m window --space 7
shift + rctrl - 8 : yabai -m window --space 8; yabai -m space --focus 8 shift + rctrl - 8 : yabai -m window --space 8
shift + rctrl - 9 : yabai -m window --space 9; yabai -m space --focus 9 shift + rctrl - 9 : yabai -m window --space 9
shift + rctrl - 0 : yabai -m window --space 10; yabai -m space --focus 10 shift + rctrl - 0 : yabai -m window --space 10
# focus monitor # focus monitor
rctrl - w : yabai -m display --focus 1 rctrl - w : yabai -m display --focus 1
rctrl - e : yabai -m display --focus 2 rctrl - e : yabai -m display --focus 2
rctrl - r : yabai -m display --focus 3 rctrl - r : yabai -m display --focus 3
# send window to monitor and follow focus # send window to monitor
rctrl + shift - w : yabai -m window --display 1; yabai -m display --focus 1 rctrl + shift - w : yabai -m window --display 1
rctrl + shift - e : yabai -m window --display 2; yabai -m display --focus 2 rctrl + shift - e : yabai -m window --display 2
rctrl + shift - r : yabai -m window --display 3; yabai -m display --focus 3 rctrl + shift - r : yabai -m window --display 3
# move window # move window
shift + ctrl - a : yabai -m window --move rel:-20:0 shift + ctrl - a : yabai -m window --move rel:-20:0
@ -126,7 +126,7 @@ shift + alt - f : yabai -m window --toggle native-fullscreen
shift + alt - b : yabai -m window --toggle border shift + alt - b : yabai -m window --toggle border
# toggle window split type # toggle window split type
alt - e : yabai -m window --toggle split # alt - e : yabai -m window --toggle split
# float / unfloat window and center on screen # float / unfloat window and center on screen
alt - t : yabai -m window --toggle float;\ alt - t : yabai -m window --toggle float;\