-
Notifications
You must be signed in to change notification settings - Fork 0
/
.skhdrc
65 lines (49 loc) · 2.08 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# skhd config
# open a terminal
cmd - return : open -a iTerm ~
# kill yabai when something brakes (automatically should restart)
cmd + ctrl - w : killall yabai
# focus window
cmd + alt - left : yabai -m window --focus west
cmd + alt - down : yabai -m window --focus south
cmd + alt - up : yabai -m window --focus north
cmd + alt - right : yabai -m window --focus east
# move window
cmd + alt + ctrl - left : yabai -m window --warp west
cmd + alt + ctrl - down : yabai -m window --warp south
cmd + alt + ctrl - up : yabai -m window --warp north
cmd + alt + ctrl - right : yabai -m window --warp east
# focus monitor
# ctrl + alt - x : yabai -m display --focus recent
# ctrl + alt - z : yabai -m display --focus prev
# ctrl + alt - c : yabai -m display --focus next
ctrl + alt - 1 : yabai -m display --focus 1
ctrl + alt - 2 : yabai -m display --focus 2
ctrl + alt - 3 : yabai -m display --focus 3
# send window to monitor and follow focus
ctrl + cmd - 1 : yabai -m window --display 1; yabai -m display --focus 1
ctrl + cmd - 2 : yabai -m window --display 2; yabai -m display --focus 2
ctrl + cmd - 3 : yabai -m window --display 3; yabai -m display --focus 3
# move window to space
ctrl + cmd - p : yabai -m window --space prev; yabai -m space --focus prev
ctrl + cmd - n : yabai -m window --space next; yabai -m space --focus next
# rotate tree
alt + cmd - r : yabai -m space --rotate 90
# mirror tree y-axis
alt + cmd - y : yabai -m space --mirror y-axis
# mirror tree x-axis
alt + cmd - x : yabai -m space --mirror x-axis
# toggle window parent zoom
alt - d : yabai -m window --toggle zoom-parent
# toggle window fullscreen zoom
alt - f : yabai -m window --toggle zoom-fullscreen
# toggle window native fullscreen
shift + alt - f : yabai -m window --toggle native-fullscreen
# toggle window split type
alt + cmd - e : yabai -m window --toggle split
# float / unfloat window and center on screen
cmd + alt - t : yabai -m window --toggle float;\
yabai -m window --grid 4:4:1:1:2:2
# change layout of desktop
ctrl + alt - a : yabai -m space --layout bsp
ctrl + alt - d : yabai -m space --layout float