-
Notifications
You must be signed in to change notification settings - Fork 8
/
skhdrc
executable file
·45 lines (35 loc) · 2.37 KB
/
skhdrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
## open
rshift - t : "/Applications/Alacritty.app/Contents/MacOS/alacritty" # terminal
rshift - b : "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" # browser
## yabai
rcmd + shift - f : yabai -m window --toggle native-fullscreen # enter native fullscreen
rcmd - 0x18 : yabai -m space --balance # balance
rcmd - f : yabai -m window --toggle zoom-fullscreen # toggle fullscreen
rcmd - r : yabai -m space --rotate 90 # rotate
rcmd - return : yabai -m window --toggle float # toggle float
rcmd - tab : yabai -m window --toggle split # toggle split
rcmd + shift - 0x21 : yabai -m space --rotate 90 # rotate right
rcmd + shift - 0x1E : yabai -m space --rotate 270 # rotate left
rcmd + alt - h : yabai -m window --warp west # warp west
rcmd + alt - j : yabai -m window --warp south # warp south
rcmd + alt - k : yabai -m window --warp north # warp north
rcmd + alt - l : yabai -m window --warp east # warp east
rcmd + shift - a : yabai -m window --resize left:20:0 # contract left
rcmd + shift - d : yabai -m window --resize right:-20:0 # contract right
rcmd + shift - s : yabai -m window --resize bottom:0:-20 # contract bottom
rcmd + shift - w : yabai -m window --resize top:0:20 # contract top
rcmd + shift - h : yabai -m window --swap west # swap west
rcmd + shift - j : yabai -m window --swap south # swap south
rcmd + shift - k : yabai -m window --swap north # swap north
rcmd + shift - l : yabai -m window --swap east # swap east
rcmd - a : yabai -m window --resize left:-20:0 # expand left
rcmd - d : yabai -m window --resize right:20:0 # expand right
rcmd - s : yabai -m window --resize bottom:0:20 # expand bottom
rcmd - w : yabai -m window --resize top:0:-20 # expand top
rcmd - h : yabai -m window --focus west # focus west
rcmd - j : yabai -m window --focus south # focus south
rcmd - k : yabai -m window --focus north # focus north
rcmd - l : yabai -m window --focus east # focus east
# toggle layout between `bsp` and `stack`
rcmd - t : yabai -m space --layout \
$(yabai -m query --spaces --space | jq -r 'if .type == "bsp" then "stack" else "bsp" end')