-
Notifications
You must be signed in to change notification settings - Fork 2
/
skhdrc
56 lines (44 loc) · 2.05 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
# NOTE: this config likely conflicts with aerospace
# start/stop yabai, tiling window manager
alt + shift - q : yabai --stop-service
alt + shift - s : yabai --start-service
# rotate layout clockwise
alt + shift - r : yabai -m space --rotate 270
# flip along y-axis
alt + shift - y : yabai -m space --mirror y-axis
# flip along x-axis
alt + shift - x : yabai -m space --mirror x-axis
# balance out a tree of windows (resize or occupy the same area)
alt + shift - b : yabai -m space --balance
# toggle window float
alt + shift - f : yabai -m window --toggle float --grid 4:4:1:1:2:2
# maximize a window
alt + shift - z : yabai -m window --toggle zoom-fullscreen
# focus on full-screen wezterm (see dotfiles shell script)
lctrl - 0 : ~/.dotfiles/shell/bin/focus-wezterm
# change window focus
alt + shift - down : yabai -m window --focus south
alt + shift - up : yabai -m window --focus north
alt + shift - left : yabai -m window --focus west
alt + shift - right : yabai -m window --focus east
# resize tiled window
lctrl + shift - left : yabai -m window --resize left:-50:0; \
yabai -m window --resize right:-50:0
lctrl + shift - down : yabai -m window --resize bottom:0:50; \
yabai -m window --resize top:0:50
lctrl + shift - up : yabai -m window --resize top:0:-50; \
yabai -m window --resize bottom:0:-50
lctrl + shift - right : yabai -m window --resize right:50:0; \
yabai -m window --resize left:50:0
# Move window to designated space
# To enable moving windows between spaces, remove script-addition:
# sudo yabai --uninstall-sa
alt + shift - 1 : yabai -m window --space 1 --focus
alt + shift - 2 : yabai -m window --space 2 --focus
alt + shift - 3 : yabai -m window --space 3 --focus
alt + shift - 4 : yabai -m window --space 4 --focus
alt + shift - 5 : yabai -m window --space 5 --focus
alt + shift - 6 : yabai -m window --space 6 --focus
alt + shift - 7 : yabai -m window --space 7 --focus
alt + shift - 8 : yabai -m window --space 8 --focus
alt + shift - 9 : yabai -m window --space 9 --focus