i3
GENERATED_command_tokens.h
Go to the documentation of this file.
2  { "'to", "", RENAME_WORKSPACE_NEW_NAME, { 0 } },
3  { "word", "new_name", __CALL, { 0 } },
4 };
6  { "'position", "", MOVE_TO_POSITION, { 0 } },
7 };
9  { "end", "", __CALL, { 1 } },
10  { "string", "new_name", __CALL, { 2 } },
11 };
13  { "'output", "", MOVE_WORKSPACE_TO_OUTPUT, { 0 } },
14  { "string", "output", __CALL, { 3 } },
15 };
17  { "string", "number", __CALL, { 4 } },
18 };
20  { "'to", "", RENAME_WORKSPACE_NEW_NAME, { 0 } },
21 };
23  { "'ppt", "", __CALL, { 5 } },
24  { "end", "", __CALL, { 6 } },
25 };
27  { "'px", "", MOVE_TO_POSITION_X, { 0 } },
28  { "number", "coord_y", MOVE_TO_POSITION_Y, { 0 } },
29 };
31  { "'px", "", __CALL, { 7 } },
32  { "end", "", __CALL, { 8 } },
33 };
35  { "'global", "mode", __CALL, { 9 } },
36  { "end", "", __CALL, { 10 } },
37 };
39  { "'px", "", __CALL, { 11 } },
40  { "end", "", __CALL, { 12 } },
41 };
43  { "'hide", "bar_value", BAR_W_ID, { 0 } },
44  { "'show", "bar_value", BAR_W_ID, { 0 } },
45  { "'toggle", "bar_value", BAR_W_ID, { 0 } },
46 };
48  { "'center", "", __CALL, { 13 } },
49  { "'mouse", "", __CALL, { 14 } },
50  { "'cursor", "", __CALL, { 15 } },
51  { "'pointer", "", __CALL, { 16 } },
52  { "number", "coord_x", MOVE_TO_POSITION_X, { 0 } },
53 };
55  { "'to", "old_name", RENAME_WORKSPACE_LIKELY_TO, { 0 } },
56  { "word", "old_name", RENAME_WORKSPACE_TO, { 0 } },
57 };
59  { "'up", "direction", RESIZE_PX, { 0 } },
60  { "'down", "direction", RESIZE_PX, { 0 } },
61  { "'left", "direction", RESIZE_PX, { 0 } },
62  { "'right", "direction", RESIZE_PX, { 0 } },
63  { "'width", "direction", RESIZE_PX, { 0 } },
64  { "'height", "direction", RESIZE_PX, { 0 } },
65 };
67  { "number", "resize_ppt", RESIZE_TILING_FINAL, { 0 } },
68 };
70  { "string", "workspace", __CALL, { 17 } },
71 };
73  { "'global", "mode", __CALL, { 18 } },
74  { "end", "", __CALL, { 19 } },
75 };
77  { "number", "pixels", MOVE_DIRECTION_PX, { 0 } },
78  { "end", "", __CALL, { 20 } },
79 };
81  { "string", "output", __CALL, { 21 } },
82 };
84  { "'to ", "", MOVE_WORKSPACE_TO_OUTPUT, { 0 } },
85  { "'next_on_output", "workspace", __CALL, { 22 } },
86  { "'prev_on_output", "workspace", __CALL, { 23 } },
87  { "'next", "workspace", __CALL, { 24 } },
88  { "'prev", "workspace", __CALL, { 25 } },
89  { "'current", "workspace", __CALL, { 26 } },
90  { "'back_and_forth", "", __CALL, { 27 } },
91  { "'number", "", MOVE_WORKSPACE_NUMBER, { 0 } },
92  { "string", "workspace", __CALL, { 28 } },
93 };
95  { "string", "path", __CALL, { 29 } },
96 };
98  { "word", "cvalue", __CALL, { 30 } },
99 };
101  { "end", "", __CALL, { 31 } },
102  { "'split", "toggle_mode", __CALL, { 32 } },
103  { "'all", "toggle_mode", __CALL, { 33 } },
104 };
106  { "'px", "", __CALL, { 34 } },
107  { "end", "", __CALL, { 35 } },
108 };
110  { "'px", "", RESIZE_TILING, { 0 } },
111  { "'or", "", RESIZE_TILING_OR, { 0 } },
112  { "end", "", __CALL, { 36 } },
113 };
115  { "end", "", __CALL, { 37 } },
116  { "number", "border_width", __CALL, { 38 } },
117 };
119  { "string", "output", __CALL, { 39 } },
120 };
122  { "string", "mark", __CALL, { 40 } },
123 };
125  { "'px", "", RESIZE_WIDTH, { 0 } },
126  { "number", "height", RESIZE_HEIGHT, { 0 } },
127 };
129  { "string", "format", __CALL, { 41 } },
130 };
132  { "'disable", "action", __CALL, { 42 } },
133  { "'enable", "action", FULLSCREEN_MODE, { 0 } },
134  { "'toggle", "action", FULLSCREEN_MODE, { 0 } },
135  { "'", "action", FULLSCREEN_COMPAT, { 0 } },
136 };
138  { "number", "width", RESIZE_WIDTH, { 0 } },
139 };
141  { "'show", "", __CALL, { 43 } },
142 };
144  { "'=", "", CRITERION_STR, { 0 } },
145 };
147  { "number", "resize_px", RESIZE_TILING, { 0 } },
148  { "end", "", __CALL, { 44 } },
149 };
151  { "'--no-auto-back-and-forth", "no_auto_back_and_forth", WORKSPACE, { 0 } },
152  { "'next_on_output", "direction", __CALL, { 45 } },
153  { "'prev_on_output", "direction", __CALL, { 46 } },
154  { "'next", "direction", __CALL, { 47 } },
155  { "'prev", "direction", __CALL, { 48 } },
156  { "'back_and_forth", "", __CALL, { 49 } },
157  { "'number", "", WORKSPACE_NUMBER, { 0 } },
158  { "string", "workspace", __CALL, { 50 } },
159 };
161  { "'dock", "bar_value", BAR_W_ID, { 0 } },
162  { "'hide", "bar_value", BAR_W_ID, { 0 } },
163  { "'invisible", "bar_value", BAR_W_ID, { 0 } },
164  { "'toggle", "bar_value", BAR_W_ID, { 0 } },
165 };
167  { "word", "bar_id", BAR_W_ID, { 0 } },
168  { "end", "", __CALL, { 51 } },
169 };
171  { "'class", "ctype", CRITERION, { 0 } },
172  { "'instance", "ctype", CRITERION, { 0 } },
173  { "'window_role", "ctype", CRITERION, { 0 } },
174  { "'con_id", "ctype", CRITERION, { 0 } },
175  { "'id", "ctype", CRITERION, { 0 } },
176  { "'window_type", "ctype", CRITERION, { 0 } },
177  { "'con_mark", "ctype", CRITERION, { 0 } },
178  { "'title", "ctype", CRITERION, { 0 } },
179  { "'urgent", "ctype", CRITERION, { 0 } },
180  { "'workspace", "ctype", CRITERION, { 0 } },
181  { "']", "", __CALL, { 52 } },
182 };
184  { "'toggle", "argument", __CALL, { 53 } },
185  { "'on", "argument", __CALL, { 54 } },
186  { "'off", "argument", __CALL, { 55 } },
187 };
189  { "'enable", "floating", __CALL, { 56 } },
190  { "'disable", "floating", __CALL, { 57 } },
191  { "'toggle", "floating", __CALL, { 58 } },
192 };
194  { "end", "", INITIAL, { 0 } },
195  { "'[", "", __CALL, { 59 } },
196  { "'move", "", MOVE, { 0 } },
197  { "'exec", "", EXEC, { 0 } },
198  { "'exit", "", __CALL, { 60 } },
199  { "'restart", "", __CALL, { 61 } },
200  { "'reload", "", __CALL, { 62 } },
201  { "'shmlog", "", SHMLOG, { 0 } },
202  { "'debuglog", "", DEBUGLOG, { 0 } },
203  { "'border", "", BORDER, { 0 } },
204  { "'layout", "", LAYOUT, { 0 } },
205  { "'append_layout", "", APPEND_LAYOUT, { 0 } },
206  { "'workspace", "", WORKSPACE, { 0 } },
207  { "'focus", "", FOCUS, { 0 } },
208  { "'kill", "", KILL, { 0 } },
209  { "'open", "", __CALL, { 63 } },
210  { "'fullscreen", "", FULLSCREEN, { 0 } },
211  { "'sticky", "", STICKY, { 0 } },
212  { "'split", "", SPLIT, { 0 } },
213  { "'floating", "", FLOATING, { 0 } },
214  { "'mark", "", MARK, { 0 } },
215  { "'unmark", "", UNMARK, { 0 } },
216  { "'resize", "", RESIZE, { 0 } },
217  { "'rename", "", RENAME, { 0 } },
218  { "'nop", "", NOP, { 0 } },
219  { "'scratchpad", "", SCRATCHPAD, { 0 } },
220  { "'title_format", "", TITLE_FORMAT, { 0 } },
221  { "'mode", "", MODE, { 0 } },
222  { "'bar", "", BAR, { 0 } },
223 };
225  { "'normal", "border_style", BORDER_WIDTH, { 0 } },
226  { "'pixel", "border_style", BORDER_WIDTH, { 0 } },
227  { "'none", "border_style", __CALL, { 64 } },
228  { "'toggle", "border_style", __CALL, { 65 } },
229  { "'1pixel", "border_style", __CALL, { 66 } },
230 };
232  { "'default", "layout_mode", __CALL, { 67 } },
233  { "'stacked", "layout_mode", __CALL, { 68 } },
234  { "'stacking", "layout_mode", __CALL, { 69 } },
235  { "'tabbed", "layout_mode", __CALL, { 70 } },
236  { "'splitv", "layout_mode", __CALL, { 71 } },
237  { "'splith", "layout_mode", __CALL, { 72 } },
238  { "'toggle", "", LAYOUT_TOGGLE, { 0 } },
239 };
241  { "'workspace", "", RENAME_WORKSPACE, { 0 } },
242 };
244  { "'grow", "way", RESIZE_DIRECTION, { 0 } },
245  { "'shrink", "way", RESIZE_DIRECTION, { 0 } },
246  { "'set", "set", RESIZE_SET, { 0 } },
247 };
249  { "string", "argument", __CALL, { 73 } },
250 };
252  { "'enable", "action", __CALL, { 74 } },
253  { "'disable", "action", __CALL, { 75 } },
254  { "'toggle", "action", __CALL, { 76 } },
255 };
257  { "end", "", __CALL, { 77 } },
258  { "string", "mark", __CALL, { 78 } },
259 };
260 static cmdp_token tokens_FOCUS[11] = {
261  { "'left", "direction", __CALL, { 79 } },
262  { "'right", "direction", __CALL, { 80 } },
263  { "'up", "direction", __CALL, { 81 } },
264  { "'down", "direction", __CALL, { 82 } },
265  { "'output", "", FOCUS_OUTPUT, { 0 } },
266  { "'tiling", "window_mode", __CALL, { 83 } },
267  { "'floating", "window_mode", __CALL, { 84 } },
268  { "'mode_toggle", "window_mode", __CALL, { 85 } },
269  { "'parent", "level", __CALL, { 86 } },
270  { "'child", "level", __CALL, { 87 } },
271  { "end", "", __CALL, { 88 } },
272 };
274  { "'horizontal", "direction", __CALL, { 89 } },
275  { "'vertical", "direction", __CALL, { 90 } },
276  { "'toggle", "direction", __CALL, { 91 } },
277  { "'v", "direction", __CALL, { 92 } },
278  { "'h", "direction", __CALL, { 93 } },
279  { "'t", "direction", __CALL, { 94 } },
280 };
281 static cmdp_token tokens_EXEC[2] = {
282  { "'--no-startup-id", "nosn", EXEC, { 0 } },
283  { "string", "command", __CALL, { 95 } },
284 };
285 static cmdp_token tokens_KILL[3] = {
286  { "'window", "kill_mode", __CALL, { 96 } },
287  { "'client", "kill_mode", __CALL, { 97 } },
288  { "end", "", __CALL, { 98 } },
289 };
290 static cmdp_token tokens_MARK[4] = {
291  { "'--add", "mode", MARK, { 0 } },
292  { "'--replace", "mode", MARK, { 0 } },
293  { "'--toggle", "toggle", MARK, { 0 } },
294  { "string", "mark", __CALL, { 99 } },
295 };
296 static cmdp_token tokens_MODE[1] = {
297  { "string", "mode", __CALL, { 100 } },
298 };
299 static cmdp_token tokens_MOVE[14] = {
300  { "'window", "", MOVE, { 0 } },
301  { "'container", "", MOVE, { 0 } },
302  { "'to", "", MOVE, { 0 } },
303  { "'--no-auto-back-and-forth", "no_auto_back_and_forth", MOVE, { 0 } },
304  { "'workspace", "", MOVE_WORKSPACE, { 0 } },
305  { "'output", "", MOVE_TO_OUTPUT, { 0 } },
306  { "'mark", "", MOVE_TO_MARK, { 0 } },
307  { "'scratchpad", "", __CALL, { 101 } },
308  { "'left", "direction", MOVE_DIRECTION, { 0 } },
309  { "'right", "direction", MOVE_DIRECTION, { 0 } },
310  { "'up", "direction", MOVE_DIRECTION, { 0 } },
311  { "'down", "direction", MOVE_DIRECTION, { 0 } },
312  { "'position", "method", MOVE_TO_POSITION, { 0 } },
313  { "'absolute", "method", MOVE_TO_ABSOLUTE_POSITION, { 0 } },
314 };
315 static cmdp_token tokens_BAR[2] = {
316  { "'hidden_state", "bar_type", BAR_HIDDEN_STATE, { 0 } },
317  { "'mode", "bar_type", BAR_MODE, { 0 } },
318 };
319 static cmdp_token tokens_NOP[2] = {
320  { "string", "comment", __CALL, { 102 } },
321  { "end", "", __CALL, { 103 } },
322 };
323 static cmdp_token_ptr tokens[59] = {
341  { tokens_FULLSCREEN_MODE, 2 },
342  { tokens_MOVE_DIRECTION, 2 },
343  { tokens_MOVE_TO_OUTPUT, 1 },
344  { tokens_MOVE_WORKSPACE, 9 },
345  { tokens_APPEND_LAYOUT, 1 },
346  { tokens_CRITERION_STR, 1 },
347  { tokens_LAYOUT_TOGGLE, 3 },
348  { tokens_RESIZE_HEIGHT, 2 },
349  { tokens_RESIZE_TILING, 3 },
350  { tokens_BORDER_WIDTH, 2 },
351  { tokens_FOCUS_OUTPUT, 1 },
352  { tokens_MOVE_TO_MARK, 1 },
353  { tokens_RESIZE_WIDTH, 2 },
354  { tokens_TITLE_FORMAT, 1 },
355  { tokens_FULLSCREEN, 4 },
356  { tokens_RESIZE_SET, 1 },
357  { tokens_SCRATCHPAD, 1 },
358  { tokens_CRITERION, 1 },
359  { tokens_RESIZE_PX, 2 },
360  { tokens_WORKSPACE, 8 },
361  { tokens_BAR_MODE, 4 },
362  { tokens_BAR_W_ID, 2 },
363  { tokens_CRITERIA, 11 },
364  { tokens_DEBUGLOG, 3 },
365  { tokens_FLOATING, 3 },
366  { tokens_INITIAL, 29 },
367  { tokens_BORDER, 5 },
368  { tokens_LAYOUT, 7 },
369  { tokens_RENAME, 1 },
370  { tokens_RESIZE, 3 },
371  { tokens_SHMLOG, 1 },
372  { tokens_STICKY, 3 },
373  { tokens_UNMARK, 2 },
374  { tokens_FOCUS, 11 },
375  { tokens_SPLIT, 6 },
376  { tokens_EXEC, 2 },
377  { tokens_KILL, 3 },
378  { tokens_MARK, 4 },
379  { tokens_MODE, 1 },
380  { tokens_MOVE, 14 },
381  { tokens_BAR, 2 },
382  { tokens_NOP, 2 },
383 };
static cmdp_token_ptr tokens[59]
static cmdp_token tokens_STICKY[3]
static cmdp_token tokens_KILL[3]
static cmdp_token tokens_NOP[2]
static cmdp_token tokens_MOVE_DIRECTION[2]
static cmdp_token tokens_BAR[2]
static cmdp_token tokens_SPLIT[6]
static cmdp_token tokens_MOVE_TO_POSITION_Y[2]
static cmdp_token tokens_RENAME_WORKSPACE_TO[1]
static cmdp_token tokens_FOCUS_OUTPUT[1]
static cmdp_token tokens_MARK[4]
static cmdp_token tokens_MOVE_DIRECTION_PX[2]
static cmdp_token tokens_EXEC[2]
static cmdp_token tokens_BAR_MODE[4]
static cmdp_token tokens_RESIZE_SET[1]
static cmdp_token tokens_MOVE_TO_POSITION[5]
static cmdp_token tokens_SCRATCHPAD[1]
static cmdp_token tokens_RESIZE_WIDTH[2]
static cmdp_token tokens_RESIZE[3]
static cmdp_token tokens_LAYOUT_TOGGLE[3]
static cmdp_token tokens_MOVE_TO_ABSOLUTE_POSITION[1]
static cmdp_token tokens_SHMLOG[1]
static cmdp_token tokens_BAR_W_ID[2]
static cmdp_token tokens_MOVE_TO_POSITION_X[2]
static cmdp_token tokens_CRITERION_STR[1]
static cmdp_token tokens_BORDER_WIDTH[2]
static cmdp_token tokens_TITLE_FORMAT[1]
static cmdp_token tokens_CRITERIA[11]
static cmdp_token tokens_FLOATING[3]
static cmdp_token tokens_RENAME[1]
static cmdp_token tokens_RESIZE_TILING_OR[1]
static cmdp_token tokens_RESIZE_DIRECTION[6]
static cmdp_token tokens_RESIZE_TILING[3]
static cmdp_token tokens_DEBUGLOG[3]
static cmdp_token tokens_MOVE_WORKSPACE_NUMBER[1]
static cmdp_token tokens_RENAME_WORKSPACE[2]
static cmdp_token tokens_RESIZE_PX[2]
static cmdp_token tokens_RESIZE_HEIGHT[2]
static cmdp_token tokens_INITIAL[29]
static cmdp_token tokens_MOVE_TO_MARK[1]
static cmdp_token tokens_MOVE_TO_OUTPUT[1]
static cmdp_token tokens_CRITERION[1]
static cmdp_token tokens_UNMARK[2]
static cmdp_token tokens_RENAME_WORKSPACE_LIKELY_TO[2]
static cmdp_token tokens_RENAME_WORKSPACE_NEW_NAME[2]
static cmdp_token tokens_RESIZE_TILING_FINAL[2]
static cmdp_token tokens_WORKSPACE[8]
static cmdp_token tokens_BORDER[5]
static cmdp_token tokens_MOVE_WORKSPACE[9]
static cmdp_token tokens_LAYOUT[7]
static cmdp_token tokens_FULLSCREEN_MODE[2]
static cmdp_token tokens_FULLSCREEN[4]
static cmdp_token tokens_WORKSPACE_NUMBER[1]
static cmdp_token tokens_APPEND_LAYOUT[1]
static cmdp_token tokens_MOVE_WORKSPACE_TO_OUTPUT[2]
static cmdp_token tokens_BAR_HIDDEN_STATE[3]
static cmdp_token tokens_MOVE[14]
static cmdp_token tokens_MODE[1]
static cmdp_token tokens_FULLSCREEN_COMPAT[2]
static cmdp_token tokens_FOCUS[11]