-
Notifications
You must be signed in to change notification settings - Fork 0
/
.skhdrc
35 lines (28 loc) · 1.71 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
# Navigation
cmd + alt - h : yabai -m window --focus west || yabai -m window --focus north
cmd + alt - l : yabai -m window --focus east || yabai -m window --focus south
cmd + alt - k : yabai -m window --focus north || yabai -m window --focus north
cmd + alt - j : yabai -m window --focus south || yabai -m window --focus north
cmd + alt - w : yabai -m window --focus next || yabai -m window --focus first
shift + cmd + alt - h : yabai -m window --swap west || yabai -m window --swap north
shift + cmd + alt - l : yabai -m window --swap east || yabai -m window --swap north
shift + cmd + alt - k : yabai -m window --swap north || yabai -m window --swap east
shift + cmd + alt - j : yabai -m window --swap south || yabai -m window --swap east
# resize
cmd + alt - left : yabai -m window --resize left:-20:0
cmd + alt - right : yabai -m window --resize right:20:0
cmd + alt - up : yabai -m window --resize top:0:20
cmd + alt - down : yabai -m window --resize bottom:0:20
cmd + alt - space : yabai -m window --toggle zoom-fullscreen
cmd + alt - z : yabai -m config layout bsp
cmd + alt - q : yabai -m config layout stack
# Toggle split v/h for active window
cmd + alt - x : bash -c '$(yabai -m window $(yabai -m query --windows --window | jq -re ".id"alt - 0x27 : bash -c '$(yabai -m window $(yabai -m query --windows --window | jq -re ".id") --toggle split)' --toggle split)'
# to other display
cmd + alt - g : cur_window=$(yabai -m query --windows --window | jq '.id') && \
yabai -m window --display prev || yabai -m window --display next && \
yabai -m window --focus ${cur_window}
cmd + alt - p : yabai -m window --toggle float
cmd + alt - y : afplay ~/badumtss.mp3
cmd + alt - u : afplay ~/wawawaaa.mp3
cmd + alt - i : afplay ~/tada.mp3