dotfiles/.config/skhd/skhdrc

32 lines
1.1 KiB
Text

# Terminal and Applications
cmd + alt - t : open -na alacritty
cmd + alt - b : open -a Firefox
cmd + shift - v : ~/.config/skhd/scripts/menubar.sh
# System Controls
cmd - return : yabai -m window --swap west
cmd - q : yabai -m window --close
cmd - u : yabai --load-sa && yabai --restart # Assuming you have scripting additions installed
# Window Management
cmd - h : yabai -m window --resize left:20:0
cmd - l : yabai -m window --resize right:20:0
cmd - j : yabai -m window --focus prev || yabai -m window --focus last
cmd - k : yabai -m window --focus next || yabai -m window --focus first
# Focus workspaces 1 through 6
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
# Move focused window to workspaces 1 through 6 and focus that space
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