-
Notifications
You must be signed in to change notification settings - Fork 0
/
.skhdrc
51 lines (42 loc) · 1.79 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
# https://github.com/koekeishiya/skhd
# https://github.com/koekeishiya/yabai/blob/master/examples/skhdrc
# https://github.com/koekeishiya/yabai/wiki/Commands#message-passing-interface
# ====== Focus window ======
# Focus window pt.1
alt - h: yabai -m window --focus west
alt - l: yabai -m window --focus east
alt - j: yabai -m window --focus south
alt - k: yabai -m window --focus north
# Focus window pt.2
alt - p: yabai -m window --focus prev
alt - n: yabai -m window --focus next
# ====== Window movement ======
# Swap window
shift + alt - h: yabai -m window --swap west
shift + alt - l: yabai -m window --swap east
shift + alt - j: yabai -m window --swap south
shift + alt - k: yabai -m window --swap north
# Warp window
ctrl + alt - left: yabai -m window --warp west
ctrl + alt - right: yabai -m window --warp east
ctrl + alt - down: yabai -m window --warp south
ctrl + alt - up: yabai -m window --warp north
# flip along y-axis
ctrl + alt - y: yabai -m space --mirror y-axis
# flip along x-axis
ctrl + alt - x: yabai -m space --mirror x-axis
# ====== Sizing ======
# resize
shift + alt - a: yabai -m window west --resize right:-40:0 2> /dev/null || yabai -m window --resize right:-40:0
shift + alt - s: yabai -m window north --resize bottom:0:40 2> /dev/null || yabai -m window --resize bottom:0:40
shift + alt - w: yabai -m window south --resize top:0:-40 2> /dev/null || yabai -m window --resize top:0:-40
shift + alt - d: yabai -m window east --resize left:40:0 2> /dev/null || yabai -m window --resize left:40:0
# toggle max screen
shift + alt - m: yabai -m window --toggle zoom-fullscreen
# Un-tile something
shift + alt - f: yabai -m window --toggle float
# balance tiles
shift + alt - 0: yabai -m space --balance
# ====== Start / Stop yabai ======
alt - q: yabai --stop-service
alt - s: yabai --start-service