mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-14 16:36:24 +00:00
55 lines
No EOL
2.7 KiB
Smarty
55 lines
No EOL
2.7 KiB
Smarty
cmd - return: open -n -a ITerm
|
|
# cmd - e : emacsclient -c
|
|
# Restart Yabai
|
|
alt + cmd - q: brew services restart {{bin.yabai}}
|
|
#restart emacs client
|
|
alt + cmd - e: brew services restart sketchybar
|
|
|
|
### Switch focus to another destop ###
|
|
cmd - 1 : {{bin.yabai}} -m space --focus 1
|
|
cmd - 2 : {{bin.yabai}} -m space --focus 2
|
|
cmd - 3 : {{bin.yabai}} -m space --focus 3
|
|
cmd - 4 : {{bin.yabai}} -m space --focus 4
|
|
cmd - 5 : {{bin.yabai}} -m space --focus 5
|
|
cmd - 6 : {{bin.yabai}} -m space --focus 6
|
|
cmd - 7 : {{bin.yabai}} -m space --focus 7
|
|
cmd - 8 : {{bin.yabai}} -m space --focus 8
|
|
cmd - 9 : {{bin.yabai}} -m space --focus 9
|
|
cmd - 0 : {{bin.yabai}} -m space --focus 10
|
|
cmd - l : {{bin.yabai}} -m space --focus next
|
|
cmd - h : {{bin.yabai}} -m space --focus prev
|
|
|
|
#resize windows
|
|
cmd + shift - h : {{bin.yabai}} -m window --resize right:-20:0
|
|
cmd + shift - l : {{bin.yabai}} -m window --resize right:20:0
|
|
|
|
#kill active window
|
|
cmd + shift - c : {{bin.yabai}} -m window --close
|
|
|
|
### Open dmenu ###
|
|
# cmd + shift - return : open -a Xquartz && /bin/bash -l -c "sh ~/dev/dots/dmenu/apps.sh" # App launcher
|
|
|
|
### Send a window to a space ###
|
|
cmd + shift - 1 : {{bin.yabai}} -m window --space 1
|
|
cmd + shift - 2 : {{bin.yabai}} -m window --space 2
|
|
cmd + shift - 3 : {{bin.yabai}} -m window --space 3
|
|
cmd + shift - 4 : {{bin.yabai}} -m window --space 4
|
|
cmd + shift - 5 : {{bin.yabai}} -m window --space 5
|
|
cmd + shift - 6 : {{bin.yabai}} -m window --space 6
|
|
cmd + shift - 7 : {{bin.yabai}} -m window --space 7
|
|
cmd + shift - 8 : {{bin.yabai}} -m window --space 8
|
|
cmd + shift - 9 : {{bin.yabai}} -m window --space 9
|
|
cmd + shift - h : {{bin.yabai}} -m window --space prev # Send window to space on the left
|
|
cmd + shift - l : {{bin.yabai}} -m window --space next # Send window to space on the right
|
|
|
|
### Send a window to a space and follow focus ###
|
|
cmd + alt - 1 : {{bin.yabai}} -m window --space 1; {{bin.yabai}} -m space --focus 1
|
|
cmd + alt - 2 : {{bin.yabai}} -m window --space 2; {{bin.yabai}} -m space --focus 2
|
|
cmd + alt - 3 : {{bin.yabai}} -m window --space 3; {{bin.yabai}} -m space --focus 3
|
|
cmd + alt - 4 : {{bin.yabai}} -m window --space 4; {{bin.yabai}} -m space --focus 4
|
|
cmd + alt - 5 : {{bin.yabai}} -m window --space 5; {{bin.yabai}} -m space --focus 5
|
|
cmd + alt - 6 : {{bin.yabai}} -m window --space 6; {{bin.yabai}} -m space --focus 6
|
|
cmd + alt - 7 : {{bin.yabai}} -m window --space 7; {{bin.yabai}} -m space --focus 7
|
|
cmd + alt - 8 : {{bin.yabai}} -m window --space 8; {{bin.yabai}} -m space --focus 8
|
|
cmd + alt - h : {{bin.yabai}} -m window --space prev; {{bin.yabai}} -m space --focus prev # To the space on the left
|
|
cmd + alt - l : {{bin.yabai}} -m window --space next; {{bin.yabai}} -m space --focus next # To the spave on the right |