-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathskhdrc
79 lines (60 loc) · 3.48 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
78
79
# reload config
ctrl + alt - r : brew services restart chunkwm
cmd + ctrl - r : khd -e "reload"
# focus window
cmd + alt + ctrl + shift - j : chunkc tiling::window --focus prev
cmd + alt + ctrl + shift - k : chunkc tiling::window --focus next
# open terminal, blazingly fast compared to iTerm/Hyper
cmd + shift - return : open -na /Applications/kitty.app
# equalize size of windows
shift + alt - 0 : chunkc tiling::desktop --equalize
cmd + alt + ctrl + shift - 1 -> : chunkc tiling::monitor -f $(chunkc tiling::query --monitor-for-desktop 1)
cmd + alt + ctrl + shift - 2 -> : chunkc tiling::monitor -f $(chunkc tiling::query --monitor-for-desktop 2)
cmd + alt + ctrl + shift - 3 -> : chunkc tiling::monitor -f $(chunkc tiling::query --monitor-for-desktop 3)
cmd + alt + ctrl + shift - 4 -> : chunkc tiling::monitor -f $(chunkc tiling::query --monitor-for-desktop 4)
cmd + alt + ctrl + shift - 5 -> : chunkc tiling::monitor -f $(chunkc tiling::query --monitor-for-desktop 5)
cmd + alt + ctrl + shift - 6 -> : chunkc tiling::monitor -f $(chunkc tiling::query --monitor-for-desktop 6)
cmd + alt + ctrl + shift - 7 -> : chunkc tiling::monitor -f $(chunkc tiling::query --monitor-for-desktop 7)
# send window to desktop and switch desktop
shift + cmd - 1 : chunkc tiling::window -d 1
shift + cmd - 2 : chunkc tiling::window -d 2
shift + cmd - 3 : chunkc tiling::window -d 3
shift + cmd - 4 : chunkc tiling::window -d 4
shift + cmd - 5 : chunkc tiling::window -d 5
shift + cmd - 6 : chunkc tiling::window -d 6
shift + cmd - 7 : chunkc tiling::window -d 7
# switch to last active desktop
cmd + alt - x : `id=$(chunkc get _last_active_desktop); khd -p "alt - $id" &> /dev/null`
# focus monitor
ctrl + alt - 1 : chunkc tiling::monitor -f 1
ctrl + alt - 2 : chunkc tiling::monitor -f 2
ctrl + alt - 3 : chunkc tiling::monitor -f 3
# send window to monitor and follow focus
ctrl + cmd - 1 : chunkc tiling::window --send-to-monitor 1; chunkc tiling::monitor -f 1
ctrl + cmd - 2 : chunkc tiling::window --send-to-monitor 2; chunkc tiling::monitor -f 2
ctrl + cmd - 3 : chunkc tiling::window --send-to-monitor 3; chunkc tiling::monitor -f 3
# increase/decrease region size
cmd + alt + ctrl + shift - s : chunkc tiling::window --use-temporary-ratio -0.1 --adjust-window-edge west; chunkc tiling::window --use-temporary-ratio -0.1 --adjust-window-edge east
cmd + alt + ctrl + shift - b : chunkc tiling::window --use-temporary-ratio 0.1 --adjust-window-edge west; chunkc tiling::window --use-temporary-ratio 0.1 --adjust-window-edge east
# rotate tree
cmd + alt + ctrl + shift - r : chunkc tiling::desktop --rotate 90
# mirror tree y-axis
cmd + alt + ctrl + shift - y : chunkc tiling::desktop --mirror vertical
# mirror tree x-axis
cmd + alt + ctrl + shift - x : chunkc tiling::desktop --mirror horizontal
# toggle desktop offset
cmd + alt + ctrl + shift - a : chunkc tiling::desktop --toggle offset
# toggle window fullscreen
cmd + alt + ctrl + shift - f : chunkc tiling::window --toggle fullscreen
# toggle window native fullscreen
shift + alt - f : chunkc tiling::window --toggle native-fullscreen
# toggle window parent zoom
alt - d : chunkc tiling::window --toggle parent
# toggle window split type
cmd + alt + ctrl + shift - e : chunkc tiling::window --toggle split
# float / unfloat window
cmd + alt + ctrl + shift - t : chunkc tiling::window --toggle float
# change layout of desktop
ctrl + alt - a : chunkc tiling::desktop --layout bsp
ctrl + alt - s : chunkc tiling::desktop --layout monocle
ctrl + alt - d : chunkc tiling::desktop --layout float