-
Notifications
You must be signed in to change notification settings - Fork 0
/
skhdrc
64 lines (49 loc) · 2.29 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
# Shortcuts
ctrl - return : /Applications/kitty.app/Contents/MacOS/kitty -o allow_remote_control=yes --single-instance
alt - b : /Applications/Firefox.app/Contents/MacOS/firefox
alt + shift - b : /Applications/Firefox.app/Contents/MacOS/firefox -private-window
# enter fullscreen mode for the focused container
alt - f : yabai -m window --toggle zoom-fullscreen
# change focus between tiling / floating windows
# ???
shift + alt - space : yabai -m window --toggle float
# change layout of desktop
#alt - e : yabai tiling::desktop --layout bsp
#alt - s : yabai tiling::desktop --layout monocle
alt - t : yabai -m window --toggle float --grid 4:4:1:1:2:2
# kill focused window
shift + alt - q : yabai -m window --close
# 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
alt - p : yabai -m window --focus prev
alt - n : yabai -m window --focus next
# 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
alt - r : yabai tiling::desktop --rotate 90
# alt - a : yabai tiling::desktop --toggle offset
#yabai tiling::window --close
shift + cmd - h : yabai -m window --warp prev
# move focused container to workspace
shift + alt - m : yabai -m window --space $(yabai get _last_active_desktop)
shift + alt - p : yabai -m window --space prev
shift + alt - n : yabai -m window --space next
shift + alt - 1 : yabai -m window --space 1; skhd -k "alt - 1"
shift + alt - 2 : yabai -m window --space 2; skhd -k "alt - 2"
shift + alt - 3 : yabai -m window --space 3; skhd -k "alt - 3"
shift + alt - 4 : yabai -m window --space 4; skhd -k "alt - 4"
shift + alt - 5 : yabai -m window --space 5; skhd -k "alt - 5"
shift + alt - 6 : yabai -m window --space 6; skhd -k "alt - 6"
shift + alt - 7 : yabai -m window --space 7; skhd -k "alt - 7"
# Music
alt - p : spotify pause
alt - i : spotify prev
alt - o : spotify next
alt - 9 : osascript -e "set volume output volume (output volume of (get volume settings) - 3) --100%"
alt - 0 : osascript -e "set volume output volume (output volume of (get volume settings) + 3) --100%"
alt - 8 : osascript -e "set volume with output muted