-
Notifications
You must be signed in to change notification settings - Fork 0
/
skhdrc
59 lines (43 loc) · 2.02 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
# skhd --start-service
# skhd --restart-service
# skhd --stop-service
# Changing Window Focus
# ctrl + cmd - up : yabai -m window --swap north
# ctrl + cmd - right : yabai -m window --swap east
# ctrl + cmd - down : yabai -m window --swap south
# ctrl + cmd - left : yabai -m window --swap west
# ctrl + cmd - i : yabai -m window --focus north
# ctrl + cmd - l : yabai -m window --focus east
# ctrl + cmd - k : yabai -m window --focus south
# ctrl + cmd - j : yabai -m window --focus west
# ctrl + cmd - n : yabai -m window --focus prev
# ctrl + alt - q : yabai -m window --space 2
ctrl + alt - r : yabai -m window --resize abs:1000:800
ctrl + alt - u : yabai -m window --resize right:100:0 # slightly larger than half
ctrl + alt - o : yabai -m window --resize left:-100:0 # slightly make slightly wider
ctrl + alt - 1 : yabai -m window --resize abs:500:1000 # whatapp
ctrl + alt - q : yabai -m window --move rel:-320:0 # move whatsapp
ctrl + alt - 2 : yabai -m window --resize abs:1180:1000 # resize secondary to whatsapp
ctrl + alt - w : yabai -m window --move abs:335:0 # move secondary window
# App Specific rules
alt + shift - 1 : open -n -a "Whatsapp"
alt + shift - 2 : open -n -a "Google Chrome"
alt + shift - 3 : open -n -a "Visual Studio Code"
alt + shift - 4 : open -n -a "Warp"
alt + shift - 5 : open -n -a "Spotify"
alt - 1 : open -a "Whatsapp"
alt - 2 : open -a "Google Chrome"
alt - 3 : open -a "Visual Studio Code"
alt - 4 : open -a "Warp"
alt - 5 : open -a "Spotify"
alt - 6 : yabai -m rule --add app="Google Chrome$" space=^2
alt - 7 : yabai -m rule --remove 0
#cmd + shift - e : yabai -m rule --add title="Google Chrome$" native-fullscreen=on
ctrl + cmd - a : yabai -m config layout float
ctrl + cmd - s : yabai -m config layout bsp
# cmd + alt - n : yabai -m space --create
# cmd + alt - k: yabai -m space --focus next || yabai -m space --focus first
# alt - 0x7D : yabai -m window --focus south
# alt - 0x7B : yabai -m window --focus west
# alt - 0x7E : yabai -m window --focus north
# alt - 0x7C : yabai -m window --focus east