home/.config/skhd/skhdrc

59 lines
1.8 KiB
Plaintext
Raw Normal View History

2020-04-06 05:59:54 -05:00
# Open Terminal
cmd - return : ~/.config/yabai/open-iterm2.sh
2020-04-06 05:42:15 -05:00
2020-04-06 05:59:54 -05:00
# Navigation
cmd - h : yabai -m window --focus west
cmd - j : yabai -m window --focus south
cmd - k : yabai -m window --focus north
2020-04-06 06:35:47 -05:00
cmd - l : yabai -m window --focus east
# Focus workspace
cmd - 1 : yabai -m space --focus 1
cmd - 2 : yabai -m space --focus 2
cmd - 3 : yabai -m space --focus 3
cmd - 4 : yabai -m space --focus 4
cmd - 5 : yabai -m space --focus 5
cmd - 6 : yabai -m space --focus 6
cmd - 7 : yabai -m space --focus 7
cmd - 8 : yabai -m space --focus 8
2020-04-10 06:48:46 -05:00
# Moving windows
cmd + shift - h : yabai -m window --warp west
cmd + shift - j : yabai -m window --warp south
cmd + shift - k : yabai -m window --warp north
cmd + shift - l : yabai -m window --warp east
2020-04-06 05:59:54 -05:00
# Resize windows
lctrl + cmd - h : \
yabai -m window --resize left:-20:0 ; \
yabai -m window --resize right:-20:0
lctrl + cmd - j : \
yabai -m window --resize bottom:0:20 ; \
yabai -m window --resize top:0:20
lctrl + cmd - k : \
yabai -m window --resize bottom:0:-20 ; \
yabai -m window --resize top:0:-20 ;
lctrl + cmd - l : \
yabai -m window --resize left:20:0 ; \
yabai -m window --resize right:20:0
2020-04-10 06:48:46 -05:00
# Move focus container to workspace
cmd + shift - 1 : yabai -m window --space 1
cmd + shift - 2 : yabai -m window --space 2
cmd + shift - 3 : yabai -m window --space 3
cmd + shift - 4 : yabai -m window --space 4
cmd + shift - 5 : yabai -m window --space 5
cmd + shift - 6 : yabai -m window --space 6
cmd + shift - 7 : yabai -m window --space 7
cmd + shift - 8 : yabai -m window --space 8
2020-04-06 05:59:54 -05:00
# Float window
2020-04-06 06:54:55 -05:00
lctrl - f : yabai -m window --toggle float
2020-04-06 05:59:54 -05:00
# Fullscreen window
alt + shift - f : yabai -m window --toggle zoom-fullscreen
cmd + shift - f : yabai -m window --toggle native-fullscreen
# Balance space in workspace
cmd + shift - 0 : yabai -m space --balance
# Restart yabai
2020-04-06 06:35:47 -05:00
cmd + shift - r : \
skhd -r ; \
~/.config/yabai/yabairc