-
Notifications
You must be signed in to change notification settings - Fork 2
/
.skhdrc
77 lines (62 loc) · 2.43 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
66
67
68
69
70
71
72
73
74
75
76
77
# open terminal
ctrl - return [
* : /Applications/Kitty.app/Contents/MacOS/kitty --single-instance -d ~
"kitty" ~
]
shift + ctrl - f : osascript -e 'tell application "Finder" to make new Finder window to folder ((path to home folder) as text)'
shift + ctrl - p : open -a "1Password"
cmd - escape [
* : yabai -m window --toggle slack || open -a Slack
"Slack" : yabai -m window --toggle slack
]
# toggle window split type vertical / horizontal
alt - q : yabai -m window --toggle split
# no opacity for window
alt - z : yabai -m window --opacity 1.0
shift + alt - z : yabai -m window --opacity 0.0
# toggle window parent zoom
alt - w : yabai -m window --toggle zoom-parent
# rotate all desktop windows
alt - r : yabai -m space --rotate 90
# toggle float
alt - t : yabai -m window --toggle float; yabai -m window --grid 8:6:1:1:4:6;
# fullscreen for focused window
alt - f : yabai -m window --toggle zoom-fullscreen
# balance space
alt - b : yabai -m space --balance
# change focus
alt - h : yabai -m window --focus west
alt - j : yabai -m window --focus south
alt - k : yabai -m window --focus north
alt - l : yabai -m window --focus east
# move focused window
shift + alt - h : yabai -m window --warp west
shift + alt - j : yabai -m window --warp south
shift + alt - k : yabai -m window --warp north
shift + alt - l : yabai -m window --warp east
# # increase region size
alt - a : yabai -m window --resize left:-60:0
alt - s : yabai -m window --resize bottom:0:60
alt - w : yabai -m window --resize top:0:-60
alt - d : yabai -m window --resize right:60:0
# decrease region size
shift + alt - a : yabai -m window --resize left:60:0
shift + alt - s : yabai -m window --resize bottom:0:-60
shift + alt - w : yabai -m window --resize top:0:60
shift + alt - d : yabai -m window --resize right:-60:0
# fast focus desktop
alt - p : yabai -m space --focus prev
alt - n : yabai -m space --focus next
alt - 0x12 : yabai -m space --focus 1
alt - 0x13 : yabai -m space --focus 2
alt - 0x14 : yabai -m space --focus 3
alt - 0x15 : yabai -m space --focus 4
alt - 0x16 : yabai -m space --focus 5
# send window to desktop and follow focus
shift + alt - p : yabai -m window --space prev
shift + alt - n : yabai -m window --space next
shift + alt - 0x12 : yabai -m window --space 1
shift + alt - 0x13 : yabai -m window --space 2
shift + alt - 0x14 : yabai -m window --space 3
shift + alt - 0x15 : yabai -m window --space 4
shift + alt - 0x16 : yabai -m window --space 5