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