dotfiles/.config/skhd/skhdrc

36 lines
1.7 KiB
Text
Raw Permalink Normal View History

2024-02-12 15:04:57 +00:00
# Terminal and Applications
2024-09-04 15:31:08 +01:00
cmd + alt - t : open -na WezTerm
2024-02-22 11:32:43 +00:00
cmd + alt - b : open -a Firefox
cmd + shift - v : ~/.config/skhd/scripts/menubar.sh
2024-02-12 15:04:57 +00:00
# System Controls
cmd - return : yabai -m window --swap west
cmd - u : yabai --load-sa && yabai --restart # Assuming you have scripting additions installed
# Window Management
2024-05-26 16:18:00 +01:00
#cmd - h : yabai -m window --resize right:-20:0
#cmd - l : yabai -m window --resize left:20:0
2024-07-20 14:23:58 +01:00
cmd + shift + alt - t : yabai -m window --toggle float
2024-02-12 15:04:57 +00:00
2024-04-08 13:47:36 +01:00
2024-02-12 15:04:57 +00:00
# Focus workspaces 1 through 6
2024-04-08 13:47:36 +01:00
cmd - 1 : index=$(yabai -m query --spaces --space | jq .display); yabai -m display --focus ${index}; yabai -m space --focus 1
cmd - 2 : index=$(yabai -m query --spaces --space | jq .display); yabai -m display --focus ${index}; yabai -m space --focus 2
cmd - 3 : index=$(yabai -m query --spaces --space | jq .display); yabai -m display --focus ${index}; yabai -m space --focus 3
cmd - 4 : index=$(yabai -m query --spaces --space | jq .display); yabai -m display --focus ${index}; yabai -m space --focus 4
cmd - 5 : index=$(yabai -m query --spaces --space | jq .display); yabai -m display --focus ${index}; yabai -m space --focus 5
cmd - 6 : index=$(yabai -m query --spaces --space | jq .display); yabai -m display --focus ${index}; yabai -m space --focus 6
2024-03-03 17:04:38 +00:00
# Move window between monitor
cmd + shift - e: yabai -m window --display next
cmd + shift - w: yabai -m window --display prev
2024-02-12 15:04:57 +00:00
# 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