-
Notifications
You must be signed in to change notification settings - Fork 0
/
.skhdrc
39 lines (34 loc) · 2.06 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
# Focus Space - Create it if it does not exist yet
alt + ctrl - 0x12 : yabai -m space --focus 1 || yabai -m space --create && yabai -m space --focus 1
alt + ctrl - 0x13 : yabai -m space --focus 2 || yabai -m space --create && yabai -m space --focus 2
alt + ctrl - 0x14 : yabai -m space --focus 3 || yabai -m space --create && yabai -m space --focus 3
alt + ctrl - 0x15 : yabai -m space --focus 4 || yabai -m space --create && yabai -m space --focus 4
alt + ctrl - 0x16 : yabai -m space --focus 5 || yabai -m space --create && yabai -m space --focus 5
alt + ctrl - 0x17 : yabai -m space --focus 6 || yabai -m space --create && yabai -m space --focus 6
alt + ctrl - 0x18 : yabai -m space --focus 7 || yabai -m space --create && yabai -m space --focus 7
# Move window to space and focus space
alt + ctrl + shift - 0x12 : yabai -m window --space 1 && yabai -m space --focus 1
alt + ctrl + shift - 0x13 : yabai -m window --space 2 && yabai -m space --focus 2
alt + ctrl + shift - 0x14 : yabai -m window --space 3 && yabai -m space --focus 3
alt + ctrl + shift - 0x15 : yabai -m window --space 4 && yabai -m space --focus 4
alt + ctrl + shift - 0x16 : yabai -m window --space 5 && yabai -m space --focus 5
alt + ctrl + shift - 0x17 : yabai -m window --space 6 && yabai -m space --focus 6
alt + ctrl + shift - 0x18 : yabai -m window --space 7 && yabai -m space --focus 7
# Move window in space
alt + ctrl + shift - left : yabai -m window --warp west
alt + ctrl + shift - right : yabai -m window --warp east
alt + ctrl + shift - up : yabai -m window --warp north
alt + ctrl + shift - down : yabai -m window --warp south
# Navigate between windows
alt + ctrl - left : yabai -m window --focus west
alt + ctrl - down : yabai -m window --focus south
alt + ctrl - up : yabai -m window --focus north
alt + ctrl - right : yabai -m window --focus east
# Toggle fullscreen
alt - f : yabai -m window --toggle zoom-fullscreen
alt + shift - f : yabai -m window --toggle native-fullscreen
# Start Applications
cmd - return : open -a "iTerm"
alt - w : open -a "Google Chrome"
alt - c : open -a "Goland"
alt - h : open ~/.skhdrc