i3
GENERATED_config_tokens.h
Go to the documentation of this file.
2  { "'ms", "", FORCE_DISPLAY_URGENCY_HINT_MS, { 0 } },
3  { "end", "", __CALL, { 0 } },
4 };
6  { "number", "height", __CALL, { 1 } },
7 };
9  { "number", "height", __CALL, { 2 } },
10 };
12  { "number", "width", FLOATING_MINIMUM_SIZE_X, { 0 } },
13 };
15  { "number", "width", FLOATING_MAXIMUM_SIZE_X, { 0 } },
16 };
18  { "number", "duration_ms", FORCE_DISPLAY_URGENCY_HINT_MS, { 0 } },
19 };
21  { "word", "value", __CALL, { 3 } },
22 };
24  { "'x", "", FLOATING_MAXIMUM_SIZE_HEIGHT, { 0 } },
25 };
27  { "'x", "", FLOATING_MINIMUM_SIZE_HEIGHT, { 0 } },
28 };
30  { "'ignore", "value", __CALL, { 4 } },
31  { "'leave_fullscreen", "value", __CALL, { 5 } },
32  { "'smart", "value", __CALL, { 6 } },
33 };
35  { "line", "", BAR_COLORS, { 0 } },
36 };
38  { "word", "background", BAR_COLORS_TEXT, { 0 } },
39 };
41  { "word", "value", __CALL, { 7 } },
42 };
44  { "word", "output", __CALL, { 8 } },
45 };
47  { "word", "value", __CALL, { 9 } },
48 };
50  { "'px", "", NEW_WINDOW_PIXELS_PX, { 0 } },
51  { "end", "", __CALL, { 10 } },
52 };
54  { "'horizontal", "orientation", __CALL, { 11 } },
55  { "'vertical", "orientation", __CALL, { 12 } },
56  { "'auto", "orientation", __CALL, { 13 } },
57 };
59  { "word", "value", __CALL, { 14 } },
60 };
62  { "string", "command", __CALL, { 15 } },
63 };
65  { "string", "command", __CALL, { 16 } },
66 };
68  { "'Mod1", "modifiers", FLOATING_MODIFIER, { 0 } },
69  { "'Mod2", "modifiers", FLOATING_MODIFIER, { 0 } },
70  { "'Mod3", "modifiers", FLOATING_MODIFIER, { 0 } },
71  { "'Mod4", "modifiers", FLOATING_MODIFIER, { 0 } },
72  { "'Mod5", "modifiers", FLOATING_MODIFIER, { 0 } },
73  { "'Shift", "modifiers", FLOATING_MODIFIER, { 0 } },
74  { "'Control", "modifiers", FLOATING_MODIFIER, { 0 } },
75  { "'Ctrl", "modifiers", FLOATING_MODIFIER, { 0 } },
76  { "'+", "", FLOATING_MODIFIER, { 0 } },
77  { "end", "", __CALL, { 17 } },
78 };
80  { "word", "color", __CALL, { 18 } },
81 };
83  { "word", "border", BAR_COLORS_BACKGROUND, { 0 } },
84 };
86  { "'none", "hide_borders", __CALL, { 19 } },
87  { "'vertical", "hide_borders", __CALL, { 20 } },
88  { "'horizontal", "hide_borders", __CALL, { 21 } },
89  { "'both", "hide_borders", __CALL, { 22 } },
90  { "'1", "hide_borders", __CALL, { 23 } },
91  { "'yes", "hide_borders", __CALL, { 24 } },
92  { "'true", "hide_borders", __CALL, { 25 } },
93  { "'on", "hide_borders", __CALL, { 26 } },
94  { "'enable", "hide_borders", __CALL, { 27 } },
95  { "'active", "hide_borders", __CALL, { 28 } },
96 };
98  { "end", "", __CALL, { 29 } },
99  { "number", "width", NEW_WINDOW_PIXELS_PX, { 0 } },
100 };
102  { "word", "background", COLOR_TEXT, { 0 } },
103 };
105  { "'output", "", WORKSPACE_OUTPUT_STR, { 0 } },
106 };
108  { "'→", "", ASSIGN_WORKSPACE, { 0 } },
109  { "string", "workspace", __CALL, { 30 } },
110 };
112  { "'default", "layout", __CALL, { 31 } },
113  { "'stacking", "layout", __CALL, { 32 } },
114  { "'stacked", "layout", __CALL, { 33 } },
115  { "'tabbed", "layout", __CALL, { 34 } },
116 };
118  { "end", "", BAR_COLORS_BRACE, { 0 } },
119  { "'{", "", BAR_COLORS, { 0 } },
120 };
122  { "'hide", "hidden_state", __CALL, { 35 } },
123  { "'show", "hidden_state", __CALL, { 36 } },
124 };
126  { "line", "", MODE, { 0 } },
127 };
129  { "'--release", "release", MODE_BINDCOMMAND, { 0 } },
130  { "string", "command", __CALL, { 37 } },
131 };
133  { "line", "", BAR, { 0 } },
134 };
136  { "word", "indicator", __CALL, { 38 } },
137  { "end", "", __CALL, { 39 } },
138 };
140  { "string", "command", __CALL, { 40 } },
141 };
143  { "string", "output", __CALL, { 41 } },
144 };
146  { "string", "path", __CALL, { 42 } },
147 };
149  { "end", "", __CALL, { 43 } },
150  { "word", "text", __CALL, { 44 } },
151 };
153  { "word", "value", __CALL, { 45 } },
154 };
156  { "word", "cvalue", __CALL, { 46 } },
157 };
159  { "string", "path", __CALL, { 47 } },
160 };
162  { "'--release", "release", MODE_BINDING, { 0 } },
163  { "'Mod1", "modifiers", MODE_BINDING, { 0 } },
164  { "'Mod2", "modifiers", MODE_BINDING, { 0 } },
165  { "'Mod3", "modifiers", MODE_BINDING, { 0 } },
166  { "'Mod4", "modifiers", MODE_BINDING, { 0 } },
167  { "'Mod5", "modifiers", MODE_BINDING, { 0 } },
168  { "'Shift", "modifiers", MODE_BINDING, { 0 } },
169  { "'Control", "modifiers", MODE_BINDING, { 0 } },
170  { "'Ctrl", "modifiers", MODE_BINDING, { 0 } },
171  { "'Mode_switch", "modifiers", MODE_BINDING, { 0 } },
172  { "'$mod", "modifiers", MODE_BINDING, { 0 } },
173  { "'+", "", MODE_BINDING, { 0 } },
174  { "word", "key", MODE_BINDCOMMAND, { 0 } },
175 };
177  { "'top", "position", __CALL, { 48 } },
178  { "'bottom", "position", __CALL, { 49 } },
179 };
181  { "'Mod1", "modifier", __CALL, { 50 } },
182  { "'Mod2", "modifier", __CALL, { 51 } },
183  { "'Mod3", "modifier", __CALL, { 52 } },
184  { "'Mod4", "modifier", __CALL, { 53 } },
185  { "'Mod5", "modifier", __CALL, { 54 } },
186  { "'Control", "modifier", __CALL, { 55 } },
187  { "'Ctrl", "modifier", __CALL, { 56 } },
188  { "'Shift", "modifier", __CALL, { 57 } },
189 };
191  { "word", "border", COLOR_BACKGROUND, { 0 } },
192 };
194  { "word", "color", __CALL, { 58 } },
195 };
197  { "string", "outputs", __CALL, { 59 } },
198 };
200  { "line", "", INITIAL, { 0 } },
201 };
203  { "word", "value", __CALL, { 60 } },
204 };
206  { "'--release", "release", BINDCOMMAND, { 0 } },
207  { "string", "command", __CALL, { 61 } },
208 };
210  { "'[", "", __CALL, { 62 } },
211 };
213  { "'normal", "border", NEW_WINDOW_PIXELS, { 0 } },
214  { "'pixel", "border", NEW_WINDOW_PIXELS, { 0 } },
215  { "'1pixel", "border", __CALL, { 63 } },
216  { "'none", "border", __CALL, { 64 } },
217 };
219  { "end", "", BAR_COLORS, { 0 } },
220  { "'#", "", BAR_COLORS_IGNORE_LINE, { 0 } },
221  { "'set", "", BAR_COLORS_IGNORE_LINE, { 0 } },
222  { "'background", "colorclass", BAR_COLORS_SINGLE, { 0 } },
223  { "'statusline", "colorclass", BAR_COLORS_SINGLE, { 0 } },
224  { "'separator", "colorclass", BAR_COLORS_SINGLE, { 0 } },
225  { "'focused_workspace", "colorclass", BAR_COLORS_BORDER, { 0 } },
226  { "'active_workspace", "colorclass", BAR_COLORS_BORDER, { 0 } },
227  { "'inactive_workspace", "colorclass", BAR_COLORS_BORDER, { 0 } },
228  { "'urgent_workspace", "colorclass", BAR_COLORS_BORDER, { 0 } },
229  { "'}", "", BAR, { 0 } },
230 };
232  { "string", "output", __CALL, { 65 } },
233 };
235  { "word", "text", COLOR_INDICATOR, { 0 } },
236 };
238  { "string", "path", __CALL, { 66 } },
239 };
241  { "word", "workspace", WORKSPACE_OUTPUT, { 0 } },
242 };
244  { "'=", "", CRITERION_STR, { 0 } },
245 };
247  { "end", "", MODEBRACE, { 0 } },
248  { "'{", "", MODE, { 0 } },
249 };
251  { "'dock", "mode", __CALL, { 67 } },
252  { "'hide", "mode", __CALL, { 68 } },
253  { "'invisible", "mode", __CALL, { 69 } },
254 };
256  { "end", "", BARBRACE, { 0 } },
257  { "'{", "", BAR, { 0 } },
258 };
260  { "'class", "ctype", CRITERION, { 0 } },
261  { "'instance", "ctype", CRITERION, { 0 } },
262  { "'window_role", "ctype", CRITERION, { 0 } },
263  { "'con_id", "ctype", CRITERION, { 0 } },
264  { "'id", "ctype", CRITERION, { 0 } },
265  { "'con_mark", "ctype", CRITERION, { 0 } },
266  { "'title", "ctype", CRITERION, { 0 } },
267  { "'urgent", "ctype", CRITERION, { 0 } },
268  { "']", "", __CALL, { 70 } },
269 };
271  { "string", "font", __CALL, { 71 } },
272 };
274  { "word", "modename", __CALL, { 72 } },
275 };
277  { "'--release", "release", BINDING, { 0 } },
278  { "'Mod1", "modifiers", BINDING, { 0 } },
279  { "'Mod2", "modifiers", BINDING, { 0 } },
280  { "'Mod3", "modifiers", BINDING, { 0 } },
281  { "'Mod4", "modifiers", BINDING, { 0 } },
282  { "'Mod5", "modifiers", BINDING, { 0 } },
283  { "'Shift", "modifiers", BINDING, { 0 } },
284  { "'Control", "modifiers", BINDING, { 0 } },
285  { "'Ctrl", "modifiers", BINDING, { 0 } },
286  { "'Mode_switch", "modifiers", BINDING, { 0 } },
287  { "'$mod", "modifiers", BINDING, { 0 } },
288  { "'+", "", BINDING, { 0 } },
289  { "word", "key", BINDCOMMAND, { 0 } },
290 };
292  { "end", "", INITIAL, { 0 } },
293  { "error", "", INITIAL, { 0 } },
294  { "'#", "", IGNORE_LINE, { 0 } },
295  { "'set", "", IGNORE_LINE, { 0 } },
296  { "'bindsym", "bindtype", BINDING, { 0 } },
297  { "'bindcode", "bindtype", BINDING, { 0 } },
298  { "'bind", "bindtype", BINDING, { 0 } },
299  { "'bar", "", BARBRACE, { 0 } },
300  { "'font", "", FONT, { 0 } },
301  { "'mode", "", MODENAME, { 0 } },
302  { "'floating_minimum_size", "", FLOATING_MINIMUM_SIZE_WIDTH, { 0 } },
303  { "'floating_maximum_size", "", FLOATING_MAXIMUM_SIZE_WIDTH, { 0 } },
304  { "'floating_modifier", "", FLOATING_MODIFIER, { 0 } },
305  { "'default_orientation", "", DEFAULT_ORIENTATION, { 0 } },
306  { "'workspace_layout", "", WORKSPACE_LAYOUT, { 0 } },
307  { "'new_window", "windowtype", NEW_WINDOW, { 0 } },
308  { "'new_float", "windowtype", NEW_WINDOW, { 0 } },
309  { "'hide_edge_borders", "", HIDE_EDGE_BORDERS, { 0 } },
310  { "'for_window", "", FOR_WINDOW, { 0 } },
311  { "'assign", "", ASSIGN, { 0 } },
312  { "'focus_follows_mouse", "", FOCUS_FOLLOWS_MOUSE, { 0 } },
313  { "'force_focus_wrapping", "", FORCE_FOCUS_WRAPPING, { 0 } },
314  { "'force_xinerama", "", FORCE_XINERAMA, { 0 } },
315  { "'force-xinerama", "", FORCE_XINERAMA, { 0 } },
316  { "'workspace_auto_back_and_forth", "", WORKSPACE_BACK_AND_FORTH, { 0 } },
317  { "'fake_outputs", "", FAKE_OUTPUTS, { 0 } },
318  { "'fake-outputs", "", FAKE_OUTPUTS, { 0 } },
319  { "'force_display_urgency_hint", "", FORCE_DISPLAY_URGENCY_HINT, { 0 } },
320  { "'workspace", "", WORKSPACE, { 0 } },
321  { "'ipc_socket", "", IPC_SOCKET, { 0 } },
322  { "'ipc-socket", "", IPC_SOCKET, { 0 } },
323  { "'restart_state", "", RESTART_STATE, { 0 } },
324  { "'popup_during_fullscreen", "", POPUP_DURING_FULLSCREEN, { 0 } },
325  { "'exec_always", "exectype", EXEC, { 0 } },
326  { "'exec", "exectype", EXEC, { 0 } },
327  { "'client.background", "colorclass", COLOR_SINGLE, { 0 } },
328  { "'client.focused_inactive", "colorclass", COLOR_BORDER, { 0 } },
329  { "'client.focused", "colorclass", COLOR_BORDER, { 0 } },
330  { "'client.unfocused", "colorclass", COLOR_BORDER, { 0 } },
331  { "'client.urgent", "colorclass", COLOR_BORDER, { 0 } },
332 };
334  { "word", "bar_id", __CALL, { 73 } },
335 };
337  { "'[", "", __CALL, { 74 } },
338 };
339 static cmdp_token tokens_MODE[8] = {
340  { "end", "", MODE, { 0 } },
341  { "error", "", MODE, { 0 } },
342  { "'#", "", MODE_IGNORE_LINE, { 0 } },
343  { "'set", "", MODE_IGNORE_LINE, { 0 } },
344  { "'bindsym", "bindtype", MODE_BINDING, { 0 } },
345  { "'bindcode", "bindtype", MODE_BINDING, { 0 } },
346  { "'bind", "bindtype", MODE_BINDING, { 0 } },
347  { "'}", "", INITIAL, { 0 } },
348 };
349 static cmdp_token tokens_FONT[1] = {
350  { "string", "font", __CALL, { 75 } },
351 };
352 static cmdp_token tokens_EXEC[2] = {
353  { "'--no-startup-id", "no_startup_id", EXEC, { 0 } },
354  { "string", "command", __CALL, { 76 } },
355 };
356 static cmdp_token tokens_BAR[19] = {
357  { "end", "", BAR, { 0 } },
358  { "error", "", BAR, { 0 } },
359  { "'#", "", BAR_IGNORE_LINE, { 0 } },
360  { "'set", "", BAR_IGNORE_LINE, { 0 } },
361  { "'i3bar_command", "", BAR_BAR_COMMAND, { 0 } },
362  { "'status_command", "", BAR_STATUS_COMMAND, { 0 } },
363  { "'socket_path", "", BAR_SOCKET_PATH, { 0 } },
364  { "'mode", "", BAR_MODE, { 0 } },
365  { "'hidden_state", "", BAR_HIDDEN_STATE, { 0 } },
366  { "'id", "", BAR_ID, { 0 } },
367  { "'modifier", "", BAR_MODIFIER, { 0 } },
368  { "'position", "", BAR_POSITION, { 0 } },
369  { "'output", "", BAR_OUTPUT, { 0 } },
370  { "'tray_output", "", BAR_TRAY_OUTPUT, { 0 } },
371  { "'font", "", BAR_FONT, { 0 } },
372  { "'workspace_buttons", "", BAR_WORKSPACE_BUTTONS, { 0 } },
373  { "'verbose", "", BAR_VERBOSE, { 0 } },
374  { "'colors", "", BAR_COLORS_BRACE, { 0 } },
375  { "'}", "", __CALL, { 77 } },
376 };
377 static cmdp_token_ptr tokens[73] = {
398  { tokens_FLOATING_MODIFIER, 10 },
401  { tokens_HIDE_EDGE_BORDERS, 10 },
411  { tokens_BAR_IGNORE_LINE, 1 },
412  { tokens_COLOR_INDICATOR, 2 },
413  { tokens_BAR_BAR_COMMAND, 1 },
414  { tokens_BAR_TRAY_OUTPUT, 1 },
415  { tokens_BAR_SOCKET_PATH, 1 },
416  { tokens_BAR_COLORS_TEXT, 2 },
417  { tokens_FORCE_XINERAMA, 1 },
418  { tokens_CRITERION_STR, 1 },
419  { tokens_RESTART_STATE, 1 },
420  { tokens_MODE_BINDING, 13 },
421  { tokens_BAR_POSITION, 2 },
422  { tokens_BAR_MODIFIER, 8 },
423  { tokens_COLOR_BORDER, 1 },
424  { tokens_COLOR_SINGLE, 1 },
425  { tokens_FAKE_OUTPUTS, 1 },
426  { tokens_IGNORE_LINE, 1 },
427  { tokens_BAR_VERBOSE, 1 },
428  { tokens_BINDCOMMAND, 2 },
429  { tokens_FOR_WINDOW, 1 },
430  { tokens_NEW_WINDOW, 4 },
431  { tokens_BAR_COLORS, 11 },
432  { tokens_BAR_OUTPUT, 1 },
433  { tokens_COLOR_TEXT, 1 },
434  { tokens_IPC_SOCKET, 1 },
435  { tokens_WORKSPACE, 1 },
436  { tokens_CRITERION, 1 },
437  { tokens_MODEBRACE, 2 },
438  { tokens_BAR_MODE, 3 },
439  { tokens_BARBRACE, 2 },
440  { tokens_CRITERIA, 9 },
441  { tokens_BAR_FONT, 1 },
442  { tokens_MODENAME, 1 },
443  { tokens_BINDING, 13 },
444  { tokens_INITIAL, 40 },
445  { tokens_BAR_ID, 1 },
446  { tokens_ASSIGN, 1 },
447  { tokens_MODE, 8 },
448  { tokens_FONT, 1 },
449  { tokens_EXEC, 2 },
450  { tokens_BAR, 19 },
451 };
static cmdp_token tokens_ASSIGN_WORKSPACE[2]
static cmdp_token tokens_WORKSPACE_OUTPUT_STR[1]
static cmdp_token tokens_RESTART_STATE[1]
static cmdp_token tokens_BAR_COLORS_SINGLE[1]
static cmdp_token tokens_FORCE_DISPLAY_URGENCY_HINT[1]
static cmdp_token_ptr tokens[73]
static cmdp_token tokens_FOR_WINDOW_COMMAND[1]
static cmdp_token tokens_FLOATING_MAXIMUM_SIZE_HEIGHT[1]
static cmdp_token tokens_BAR_COLORS_BACKGROUND[1]
static cmdp_token tokens_HIDE_EDGE_BORDERS[10]
static cmdp_token tokens_BAR_COLORS_TEXT[2]
static cmdp_token tokens_BAR_POSITION[2]
static cmdp_token tokens_FONT[1]
static cmdp_token tokens_COLOR_BORDER[1]
static cmdp_token tokens_IGNORE_LINE[1]
static cmdp_token tokens_BAR[19]
static cmdp_token tokens_IPC_SOCKET[1]
static cmdp_token tokens_BAR_OUTPUT[1]
static cmdp_token tokens_CRITERION[1]
static cmdp_token tokens_CRITERION_STR[1]
static cmdp_token tokens_BAR_WORKSPACE_BUTTONS[1]
static cmdp_token tokens_BAR_HIDDEN_STATE[2]
static cmdp_token tokens_WORKSPACE[1]
static cmdp_token tokens_BINDING[13]
static cmdp_token tokens_FLOATING_MODIFIER[10]
static cmdp_token tokens_FLOATING_MAXIMUM_SIZE_X[1]
static cmdp_token tokens_DEFAULT_ORIENTATION[3]
static cmdp_token tokens_EXEC[2]
static cmdp_token tokens_MODENAME[1]
static cmdp_token tokens_FOCUS_FOLLOWS_MOUSE[1]
static cmdp_token tokens_ASSIGN[1]
static cmdp_token tokens_COLOR_SINGLE[1]
static cmdp_token tokens_BAR_COLORS_IGNORE_LINE[1]
static cmdp_token tokens_BAR_COLORS[11]
static cmdp_token tokens_BAR_VERBOSE[1]
static cmdp_token tokens_COLOR_INDICATOR[2]
static cmdp_token tokens_WORKSPACE_LAYOUT[4]
static cmdp_token tokens_MODE_BINDCOMMAND[2]
static cmdp_token tokens_BAR_FONT[1]
static cmdp_token tokens_BAR_SOCKET_PATH[1]
static cmdp_token tokens_BAR_ID[1]
static cmdp_token tokens_MODE_IGNORE_LINE[1]
static cmdp_token tokens_COLOR_TEXT[1]
static cmdp_token tokens_POPUP_DURING_FULLSCREEN[3]
static cmdp_token tokens_FORCE_FOCUS_WRAPPING[1]
static cmdp_token tokens_NEW_WINDOW[4]
static cmdp_token tokens_BAR_BAR_COMMAND[1]
static cmdp_token tokens_BAR_MODE[3]
static cmdp_token tokens_INITIAL[40]
static cmdp_token tokens_FLOATING_MINIMUM_SIZE_WIDTH[1]
static cmdp_token tokens_FORCE_DISPLAY_URGENCY_HINT_MS[2]
static cmdp_token tokens_FAKE_OUTPUTS[1]
static cmdp_token tokens_WORKSPACE_BACK_AND_FORTH[1]
static cmdp_token tokens_FLOATING_MINIMUM_SIZE_HEIGHT[1]
static cmdp_token tokens_BAR_IGNORE_LINE[1]
static cmdp_token tokens_BAR_COLORS_BORDER[1]
static cmdp_token tokens_BAR_STATUS_COMMAND[1]
static cmdp_token tokens_FOR_WINDOW[1]
static cmdp_token tokens_BAR_COLORS_BRACE[2]
static cmdp_token tokens_COLOR_BACKGROUND[1]
static cmdp_token tokens_FORCE_XINERAMA[1]
static cmdp_token tokens_NEW_WINDOW_PIXELS[2]
static cmdp_token tokens_BINDCOMMAND[2]
static cmdp_token tokens_BAR_MODIFIER[8]
static cmdp_token tokens_MODE_BINDING[13]
static cmdp_token tokens_MODEBRACE[2]
static cmdp_token tokens_FLOATING_MAXIMUM_SIZE_WIDTH[1]
static cmdp_token tokens_BARBRACE[2]
static cmdp_token tokens_BAR_TRAY_OUTPUT[1]
static cmdp_token tokens_MODE[8]
static cmdp_token tokens_CRITERIA[9]
static cmdp_token tokens_WORKSPACE_OUTPUT[1]
static cmdp_token tokens_FLOATING_MINIMUM_SIZE_X[1]
static cmdp_token tokens_NEW_WINDOW_PIXELS_PX[2]