-
Notifications
You must be signed in to change notification settings - Fork 20
/
config.toml
264 lines (189 loc) · 8.2 KB
/
config.toml
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
################################################################################
# #
# https://github.com/leukipp/cortile/blob/main/config.toml #
# #
################################################################################
#################################### Tiling ####################################
# Initial tiling activation, will be cached afterwards (true | false).
tiling_enabled = true
# Initial tiling layout, will be cached afterwards ("vertical-left" | "vertical-right" | "horizontal-top" | "horizontal-bottom" | "maximized" | "fullscreen").
tiling_layout = "vertical-right"
# List of tiling layouts used for next/previous layout cycle ([] = default).
tiling_cycle = [
"vertical-left",
"vertical-right",
"horizontal-top",
"horizontal-bottom",
]
# An overlay window is displayed for this time period [ms] when the layout was changed (0 = disabled).
tiling_gui = 1500
# Menu entries in systray which shows the tiling state as icon ([] = disabled).
# tiling_icon = [
# ["ACTION", "TEXT"] = ["action strings from [keys] section", "text to show in the menu"],
# ["", ""] = "show a separator line",
# ]
tiling_icon = [
["toggle", "Enabled"],
["decoration", "Decoration"],
["", ""],
["master_increase", "Add Master"],
["master_decrease", "Remove Master"],
["", ""],
["slave_increase", "Add Slave"],
["slave_decrease", "Remove Slave"],
["", ""],
["reset", "Reset"],
["", ""],
["exit", "Exit"],
]
#################################### Window ####################################
# Regex RE2 syntax to ignore windows (WM_CLASS string can be found by running `xprop WM_CLASS`).
# window_ignore = [
# ["WM_CLASS", "WM_NAME"] = ["ignore all windows with this class", "but allow those with this name"]
# ]
window_ignore = [
["nm.*", ""],
["gcr.*", ""],
["polkit.*", ""],
["wrapper.*", ""],
["lightdm.*", ""],
["blueman.*", ""],
["pavucontrol.*", ""],
["firefox.*", ".*Mozilla Firefox"],
]
# Maximum number of allowed master windows (0 - 5).
window_masters_max = 3
# Maximum number of allowed slave windows (1 - 5).
window_slaves_max = 3
# How much space should be left between windows (0 - 100).
window_gap_size = 10
# When hovered for this duration [ms] windows are focused (0 = disabled).
window_focus_delay = 0
# Initial rendering of window decorations, will be cached afterwards (true | false).
window_decoration = true
################################## Proportion ##################################
# How much to increment/decrement master-slave area (0.0 - 1.0).
proportion_step = 0.05
# Minimum window width/height in proportion to workspace (0.0 - 1.0).
proportion_min = 0.2
##################################### Edge #####################################
# Margin of the tiling area ([top, right, bottom, left]).
edge_margin = [0, 0, 0, 0]
# Margin of the tiling area on primary screen ([top, right, bottom, left]).
edge_margin_primary = [0, 0, 0, 0]
# Width and height of a hot-corner area within the edge corners (0 - 100).
edge_corner_size = 10
# Width or height of a hot-corner area within the edge centers (0 - 100).
edge_center_size = 100
################################################################################
[colors] # RGBA color values used for ui elements. #
################################################################################
# Window text color.
gui_text = [255, 255, 255, 255]
# Window background color.
gui_background = [30, 30, 40, 255]
# Slave client layout color.
gui_client_slave = [58, 58, 78, 255]
# Master client layout color.
gui_client_master = [98, 98, 128, 255]
# Systray icon background color.
icon_background = [0, 0, 0, 0]
# Systray icon foreground color.
icon_foreground = [255, 255, 255, 255]
################################################################################
[keys] # Key symbols can be found by running `xev`. #
################################################################################
# Enable tiling on the current screen (Home = Fn_Left).
enable = "Control-Shift-Home"
# Disable tiling on the current screen (End = Fn_Right).
disable = "Control-Shift-End"
# Toggle between enable and disable on the current screen.
toggle = "Control-Shift-T"
# Toggle window decoration on and off on the current screen.
decoration = "Control-Shift-D"
# Disable tiling and restore windows on the current screen.
restore = "Control-Shift-R"
# Reset layouts to default proportions (BackSpace = Delete_Left)
reset = "Control-Shift-BackSpace"
# Cycles through next layouts (Next = Page_Down).
cycle_next = "Control-Shift-Next"
# Cycles through previous layouts (Prior = Page_Up).
cycle_previous = "Control-Shift-Prior"
# Activates the vertical-left layout (Left = Arrow_Left).
layout_vertical_left = "Control-Shift-Left"
# Activates the vertical-right layout (Right = Arrow_Right).
layout_vertical_right = "Control-Shift-Right"
# Activates the horizontal-top layout (Up = Arrow_Up).
layout_horizontal_top = "Control-Shift-Up"
# Activates the horizontal-bottom layout (Down = Arrow_Down).
layout_horizontal_bottom = "Control-Shift-Down"
# Activates the maximized layout (Space = Blank).
layout_maximized = "Control-Shift-Space"
# Activates the fullscreen layout (Return = Enter).
layout_fullscreen = "Control-Shift-Return"
# Increase the number of slaves (Plus = +).
slave_increase = "Control-Shift-Plus"
# Decrease the number of slaves (Minus = -).
slave_decrease = "Control-Shift-Minus"
# Increase the number of masters (KP_Add = Num_+).
master_increase = "Control-Shift-KP_Add"
# Decrease the number of masters (KP_Subtract = Num_-).
master_decrease = "Control-Shift-KP_Subtract"
# Move focus to the next window (KP_2 = Num_2).
window_next = "Control-Shift-KP_2"
# Move focus to the previous window (KP_8 = Num_8).
window_previous = "Control-Shift-KP_8"
# Move the active window to the next screen (KP_9 = Num_9).
screen_next = "Control-Shift-KP_9"
# Move the active window to the previous screen (KP_7 = Num_7).
screen_previous = "Control-Shift-KP_7"
# Make the active window a master (KP_5 = Num_5).
master_make = "Control-Shift-KP_5"
# Make the next window a master (KP_6 = Num_6).
master_make_next = "Control-Shift-KP_6"
# Make the previous window a master (KP_4 = Num_4).
master_make_previous = "Control-Shift-KP_4"
# Increase the proportion of master-slave area (KP_3 = Num_3).
proportion_increase = "Control-Shift-KP_3"
# Decrease the proportion of master-slave area (KP_1 = Num_1).
proportion_decrease = "Control-Shift-KP_1"
# Some commands above will affect all screens if this key is pressed in addition (Mod1 = Alt_L).
mod_screens = "Mod1"
# Some commands above will affect all workspaces if this key is pressed in addition (Mod4 = Super_L).
mod_workspaces = "Mod4"
################################################################################
[corners] # Action strings from [keys] section. #
################################################################################
# Corner at top left.
top_left = "window_previous"
# Corner at top center.
top_center = ""
# Corner at top right.
top_right = "master_make"
# Corner at center right.
center_right = ""
# Corner at bottom right.
bottom_right = "proportion_increase"
# Corner at bottom center.
bottom_center = ""
# Corner at bottom left.
bottom_left = "proportion_decrease"
# Corner at center left.
center_left = ""
################################################################################
[systray] # Action strings from [keys] section. #
################################################################################
# Icon left click with pointer.
click_left = ""
# Icon middle click with pointer.
click_middle = "toggle"
# Icon right click with pointer.
click_right = ""
# Icon vertical scroll up with pointer.
scroll_up = "cycle_previous"
# Icon vertical scroll down with pointer.
scroll_down = "cycle_next"
# Icon horizontal scroll left with pointer.
scroll_left = "proportion_decrease"
# Icon horizontal scroll right with pointer.
scroll_right = "proportion_increase"