dotfiles/.config/skhd/skhdrc

33 lines
1.1 KiB
Plaintext
Raw Normal View History

2020-12-17 10:12:27 +01:00
# focus left window
meh - h : yabai -m window --focus west
# swap managed window
2020-12-17 10:12:27 +01:00
meh - left : yabai -m window --swap west
meh - right : yabai -m window --swap east
meh - up : yabai -m window --swap north
meh - down : yabai -m window --swap south
# switch space mode
meh - b : yabai -m space --layout bsp
meh - f : yabai -m space --layout float
meh - s : yabai -m space --layout stack
# move focus window
meh + cmd - left : yabai -m window --focus west
meh + cmd - right : yabai -m window --focus east
meh + cmd - up : yabai -m window --focus north
meh + cmd - down : yabai -m window --focus south
# move window to space
shift + cmd - 1 : yabai -m window --space 1
shift + cmd - 2 : yabai -m window --space 2
shift + cmd - 3 : yabai -m window --space 3
shift + cmd - 4 : yabai -m window --space 4
shift + cmd - 5 : yabai -m window --space 5
shift + cmd - 6 : yabai -m window --space 6
shift + cmd - 7 : yabai -m window --space 7
shift + cmd - 8 : yabai -m window --space 8
2020-12-17 10:12:27 +01:00
# restart yabai and skhd
ctrl + alt + cmd - r : launchctl kickstart -k "gui/${UID}/homebrew.mxcl.yabai" && launchctl kickstart -k "gui/${UID}/homebrew.mxcl.skhd"