-
Notifications
You must be signed in to change notification settings - Fork 1
/
.skhdrc
117 lines (88 loc) · 3.96 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# General
meh - 0 : brew services restart chunkwm
hyper - return : osascript -e 'tell application "iTerm2" to make create window with default profile'
# Current Window (hyper)
# focus window
hyper - left : chunkc tiling::window --focus west
hyper - down : chunkc tiling::window --focus south
hyper - up : chunkc tiling::window --focus north
hyper - right : chunkc tiling::window --focus east
# toggle window fullscreen
hyper - f : chunkc tiling::window --toggle fullscreen
# float / unfloat window (detach)
hyper - d : chunkc tiling::window --toggle float
# focus desktop
hyper - 1 : chunkc tiling::desktop --focus 1
hyper - 2 : chunkc tiling::desktop --focus 2
hyper - 3 : chunkc tiling::desktop --focus 3
hyper - 4 : chunkc tiling::desktop --focus 4
hyper - 5 : chunkc tiling::desktop --focus 5
# focus monitor
hyper - 6 : chunkc tiling::monitor -f 1
hyper - 7 : chunkc tiling::monitor -f 2
hyper - 8 : chunkc tiling::monitor -f 3
# Resize mode
:: resize @ : chunkc border::color 0xff24ccaa
# enter resize mode
hyper - r ; resize
# leave resize mode
resize < escape ; default
resize < return ; default
resize < up : chunkc tiling:window --use-temporary-ratio 0.1 --adjust-window-edge north
resize < down : chunkc tiling:window --use-temporary-ratio 0.1 --adjust-window-edge south
resize < left : chunkc tiling:window --use-temporary-ratio 0.1 --adjust-window-edge west
resize < right : chunkc tiling:window --use-temporary-ratio 0.1 --adjust-window-edge east
resize < shift - up : chunkc tiling:window --use-temporary-ratio -0.1 --adjust-window-edge south
resize < shift - down : chunkc tiling:window --use-temporary-ratio -0.1 --adjust-window-edge north
resize < shift - left : chunkc tiling:window --use-temporary-ratio -0.1 --adjust-window-edge east
resize < shift - right : chunkc tiling:window --use-temporary-ratio -0.1 --adjust-window-edge west
# Current Desktop (meh)
# swap window
meh - left : chunkc tiling::window --swap west
meh - down : chunkc tiling::window --swap south
meh - up : chunkc tiling::window --swap north
meh - right : chunkc tiling::window --swap east
# rotate tree
meh - r : chunkc tiling::desktop --rotate 90
# mirror tree y-axis
meh - y : chunkc tiling::desktop --mirror vertical
# mirror tree x-axis
meh - x : chunkc tiling::desktop --mirror horizontal
# toggle desktop offset (gaps)
meh - g : chunkc tiling::desktop --toggle offset
# toggle window native fullscreen
meh - f : chunkc tiling::window --toggle native-fullscreen
# toggle window split type
meh - s : chunkc tiling::window --toggle split
# equalize size of windows
meh - e : chunkc tiling::desktop --equalize
# change layout of desktop
meh - b : chunkc tiling::desktop --layout bsp
meh - m : chunkc tiling::desktop --layout monocle
meh - d : chunkc tiling::desktop --layout float
# send window to desktop
meh - 1 : chunkc tiling::window --send-to-desktop 1
meh - 2 : chunkc tiling::window --send-to-desktop 2
meh - 3 : chunkc tiling::window --send-to-desktop 3
meh - 4 : chunkc tiling::window --send-to-desktop 4
meh - 5 : chunkc tiling::window --send-to-desktop 5
# send window to monitor and follow focus
meh - 6 : chunkc tiling::window --send-to-monitor 1; chunkc tiling::monitor -f 1
meh - 7 : chunkc tiling::window --send-to-monitor 2; chunkc tiling::monitor -f 2
meh - 8 : chunkc tiling::window --send-to-monitor 3; chunkc tiling::monitor -f 3
# set insertion point for focused container
ctrl + alt - f : chunkc tiling::window --use-insertion-point cancel
ctrl + alt - h : chunkc tiling::window --use-insertion-point west
ctrl + alt - j : chunkc tiling::window --use-insertion-point south
ctrl + alt - k : chunkc tiling::window --use-insertion-point north
ctrl + alt - l : chunkc tiling::window --use-insertion-point east
# Gap mode
:: gaps
meh - o ; gaps
# leave resize mode
gaps < escape ; default
gaps < return ; default
gaps < up : chunkc tiling:desktop --gap inc
gaps < down : chunkc tiling:desktop --gap dec
gaps < left : chunkc tiling:desktop --padding dec
gaps < right : chunkc tiling:desktop --padding inc