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  { "word", "coord_y", MOVE_TO_POSITION_Y, { 0 } },
29 };
31  { "'px", "", __CALL, { 7 } },
32  { "end", "", __CALL, { 8 } },
33 };
35  { "'px", "", __CALL, { 9 } },
36  { "end", "", __CALL, { 10 } },
37 };
39  { "'hide", "bar_value", BAR_W_ID, { 0 } },
40  { "'show", "bar_value", BAR_W_ID, { 0 } },
41  { "'toggle", "bar_value", BAR_W_ID, { 0 } },
42 };
44  { "'up", "direction", RESIZE_PX, { 0 } },
45  { "'down", "direction", RESIZE_PX, { 0 } },
46  { "'left", "direction", RESIZE_PX, { 0 } },
47  { "'right", "direction", RESIZE_PX, { 0 } },
48  { "'width", "direction", RESIZE_PX, { 0 } },
49  { "'height", "direction", RESIZE_PX, { 0 } },
50 };
52  { "word", "resize_ppt", RESIZE_TILING_FINAL, { 0 } },
53 };
55  { "'to", "old_name", RENAME_WORKSPACE_LIKELY_TO, { 0 } },
56  { "word", "old_name", RENAME_WORKSPACE_TO, { 0 } },
57 };
59  { "'center", "", __CALL, { 11 } },
60  { "word", "coord_x", MOVE_TO_POSITION_X, { 0 } },
61 };
63  { "string", "workspace", __CALL, { 12 } },
64 };
66  { "'to ", "", MOVE_WORKSPACE_TO_OUTPUT, { 0 } },
67  { "'next_on_output", "workspace", __CALL, { 13 } },
68  { "'prev_on_output", "workspace", __CALL, { 14 } },
69  { "'next", "workspace", __CALL, { 15 } },
70  { "'prev", "workspace", __CALL, { 16 } },
71  { "'current", "workspace", __CALL, { 17 } },
72  { "'back_and_forth", "", __CALL, { 18 } },
73  { "'number", "", MOVE_WORKSPACE_NUMBER, { 0 } },
74  { "string", "workspace", __CALL, { 19 } },
75 };
77  { "string", "output", __CALL, { 20 } },
78 };
80  { "word", "pixels", MOVE_DIRECTION_PX, { 0 } },
81  { "end", "", __CALL, { 21 } },
82 };
84  { "'px", "", RESIZE_TILING, { 0 } },
85  { "'or", "", RESIZE_TILING_OR, { 0 } },
86  { "end", "", __CALL, { 22 } },
87 };
89  { "word", "cvalue", __CALL, { 23 } },
90 };
92  { "end", "", __CALL, { 24 } },
93  { "'split", "toggle_mode", __CALL, { 25 } },
94  { "'all", "toggle_mode", __CALL, { 26 } },
95 };
97  { "string", "path", __CALL, { 27 } },
98 };
100  { "string", "output", __CALL, { 28 } },
101 };
103  { "end", "", __CALL, { 29 } },
104  { "word", "border_width", __CALL, { 30 } },
105 };
107  { "'global", "fullscreen_mode", __CALL, { 31 } },
108  { "end", "", __CALL, { 32 } },
109 };
111  { "'show", "", __CALL, { 33 } },
112 };
114  { "'=", "", CRITERION_STR, { 0 } },
115 };
117  { "'next_on_output", "direction", __CALL, { 34 } },
118  { "'prev_on_output", "direction", __CALL, { 35 } },
119  { "'next", "direction", __CALL, { 36 } },
120  { "'prev", "direction", __CALL, { 37 } },
121  { "'back_and_forth", "", __CALL, { 38 } },
122  { "'number", "", WORKSPACE_NUMBER, { 0 } },
123  { "string", "workspace", __CALL, { 39 } },
124 };
126  { "word", "resize_px", RESIZE_TILING, { 0 } },
127  { "end", "", __CALL, { 40 } },
128 };
130  { "'class", "ctype", CRITERION, { 0 } },
131  { "'instance", "ctype", CRITERION, { 0 } },
132  { "'window_role", "ctype", CRITERION, { 0 } },
133  { "'con_id", "ctype", CRITERION, { 0 } },
134  { "'id", "ctype", CRITERION, { 0 } },
135  { "'con_mark", "ctype", CRITERION, { 0 } },
136  { "'title", "ctype", CRITERION, { 0 } },
137  { "'urgent", "ctype", CRITERION, { 0 } },
138  { "']", "", __CALL, { 41 } },
139 };
141  { "'dock", "bar_value", BAR_W_ID, { 0 } },
142  { "'hide", "bar_value", BAR_W_ID, { 0 } },
143  { "'invisible", "bar_value", BAR_W_ID, { 0 } },
144  { "'toggle", "bar_value", BAR_W_ID, { 0 } },
145 };
147  { "'enable", "floating", __CALL, { 42 } },
148  { "'disable", "floating", __CALL, { 43 } },
149  { "'toggle", "floating", __CALL, { 44 } },
150 };
152  { "word", "bar_id", BAR_W_ID, { 0 } },
153  { "end", "", __CALL, { 45 } },
154 };
156  { "'toggle", "argument", __CALL, { 46 } },
157  { "'on", "argument", __CALL, { 47 } },
158  { "'off", "argument", __CALL, { 48 } },
159 };
161  { "end", "", INITIAL, { 0 } },
162  { "'[", "", __CALL, { 49 } },
163  { "'move", "", MOVE, { 0 } },
164  { "'exec", "", EXEC, { 0 } },
165  { "'exit", "", __CALL, { 50 } },
166  { "'restart", "", __CALL, { 51 } },
167  { "'reload", "", __CALL, { 52 } },
168  { "'shmlog", "", SHMLOG, { 0 } },
169  { "'debuglog", "", DEBUGLOG, { 0 } },
170  { "'border", "", BORDER, { 0 } },
171  { "'layout", "", LAYOUT, { 0 } },
172  { "'append_layout", "", APPEND_LAYOUT, { 0 } },
173  { "'workspace", "", WORKSPACE, { 0 } },
174  { "'focus", "", FOCUS, { 0 } },
175  { "'kill", "", KILL, { 0 } },
176  { "'open", "", __CALL, { 53 } },
177  { "'fullscreen", "", FULLSCREEN, { 0 } },
178  { "'split", "", SPLIT, { 0 } },
179  { "'floating", "", FLOATING, { 0 } },
180  { "'mark", "", MARK, { 0 } },
181  { "'unmark", "", UNMARK, { 0 } },
182  { "'resize", "", RESIZE, { 0 } },
183  { "'rename", "", RENAME, { 0 } },
184  { "'nop", "", NOP, { 0 } },
185  { "'scratchpad", "", SCRATCHPAD, { 0 } },
186  { "'mode", "", MODE, { 0 } },
187  { "'bar", "", BAR, { 0 } },
188 };
190  { "'normal", "border_style", BORDER_WIDTH, { 0 } },
191  { "'pixel", "border_style", BORDER_WIDTH, { 0 } },
192  { "'none", "border_style", __CALL, { 54 } },
193  { "'toggle", "border_style", __CALL, { 55 } },
194  { "'1pixel", "border_style", __CALL, { 56 } },
195 };
197  { "string", "argument", __CALL, { 57 } },
198 };
200  { "end", "", __CALL, { 58 } },
201  { "string", "mark", __CALL, { 59 } },
202 };
204  { "'workspace", "", RENAME_WORKSPACE, { 0 } },
205 };
207  { "'grow", "way", RESIZE_DIRECTION, { 0 } },
208  { "'shrink", "way", RESIZE_DIRECTION, { 0 } },
209 };
211  { "'default", "layout_mode", __CALL, { 60 } },
212  { "'stacked", "layout_mode", __CALL, { 61 } },
213  { "'stacking", "layout_mode", __CALL, { 62 } },
214  { "'tabbed", "layout_mode", __CALL, { 63 } },
215  { "'splitv", "layout_mode", __CALL, { 64 } },
216  { "'splith", "layout_mode", __CALL, { 65 } },
217  { "'toggle", "", LAYOUT_TOGGLE, { 0 } },
218 };
220  { "'horizontal", "direction", __CALL, { 66 } },
221  { "'vertical", "direction", __CALL, { 67 } },
222  { "'v", "direction", __CALL, { 68 } },
223  { "'h", "direction", __CALL, { 69 } },
224 };
225 static cmdp_token tokens_FOCUS[11] = {
226  { "'left", "direction", __CALL, { 70 } },
227  { "'right", "direction", __CALL, { 71 } },
228  { "'up", "direction", __CALL, { 72 } },
229  { "'down", "direction", __CALL, { 73 } },
230  { "'output", "", FOCUS_OUTPUT, { 0 } },
231  { "'tiling", "window_mode", __CALL, { 74 } },
232  { "'floating", "window_mode", __CALL, { 75 } },
233  { "'mode_toggle", "window_mode", __CALL, { 76 } },
234  { "'parent", "level", __CALL, { 77 } },
235  { "'child", "level", __CALL, { 78 } },
236  { "end", "", __CALL, { 79 } },
237 };
238 static cmdp_token tokens_MODE[1] = {
239  { "string", "mode", __CALL, { 80 } },
240 };
241 static cmdp_token tokens_MARK[1] = {
242  { "string", "mark", __CALL, { 81 } },
243 };
244 static cmdp_token tokens_MOVE[12] = {
245  { "'window", "", MOVE, { 0 } },
246  { "'container", "", MOVE, { 0 } },
247  { "'to", "", MOVE, { 0 } },
248  { "'workspace", "", MOVE_WORKSPACE, { 0 } },
249  { "'output", "", MOVE_TO_OUTPUT, { 0 } },
250  { "'scratchpad", "", __CALL, { 82 } },
251  { "'left", "direction", MOVE_DIRECTION, { 0 } },
252  { "'right", "direction", MOVE_DIRECTION, { 0 } },
253  { "'up", "direction", MOVE_DIRECTION, { 0 } },
254  { "'down", "direction", MOVE_DIRECTION, { 0 } },
255  { "'position", "method", MOVE_TO_POSITION, { 0 } },
256  { "'absolute", "method", MOVE_TO_ABSOLUTE_POSITION, { 0 } },
257 };
258 static cmdp_token tokens_KILL[3] = {
259  { "'window", "kill_mode", __CALL, { 83 } },
260  { "'client", "kill_mode", __CALL, { 84 } },
261  { "end", "", __CALL, { 85 } },
262 };
263 static cmdp_token tokens_EXEC[2] = {
264  { "'--no-startup-id", "nosn", EXEC, { 0 } },
265  { "string", "command", __CALL, { 86 } },
266 };
267 static cmdp_token tokens_BAR[2] = {
268  { "'hidden_state", "bar_type", BAR_HIDDEN_STATE, { 0 } },
269  { "'mode", "bar_type", BAR_MODE, { 0 } },
270 };
271 static cmdp_token tokens_NOP[1] = {
272  { "string", "comment", __CALL, { 87 } },
273 };
274 static cmdp_token_ptr tokens[51] = {
291  { tokens_MOVE_WORKSPACE, 9 },
292  { tokens_MOVE_TO_OUTPUT, 1 },
293  { tokens_MOVE_DIRECTION, 2 },
294  { tokens_RESIZE_TILING, 3 },
295  { tokens_CRITERION_STR, 1 },
296  { tokens_LAYOUT_TOGGLE, 3 },
297  { tokens_APPEND_LAYOUT, 1 },
298  { tokens_FOCUS_OUTPUT, 1 },
299  { tokens_BORDER_WIDTH, 2 },
300  { tokens_FULLSCREEN, 2 },
301  { tokens_SCRATCHPAD, 1 },
302  { tokens_CRITERION, 1 },
303  { tokens_WORKSPACE, 7 },
304  { tokens_RESIZE_PX, 2 },
305  { tokens_CRITERIA, 9 },
306  { tokens_BAR_MODE, 4 },
307  { tokens_FLOATING, 3 },
308  { tokens_BAR_W_ID, 2 },
309  { tokens_DEBUGLOG, 3 },
310  { tokens_INITIAL, 27 },
311  { tokens_BORDER, 5 },
312  { tokens_SHMLOG, 1 },
313  { tokens_UNMARK, 2 },
314  { tokens_RENAME, 1 },
315  { tokens_RESIZE, 2 },
316  { tokens_LAYOUT, 7 },
317  { tokens_SPLIT, 4 },
318  { tokens_FOCUS, 11 },
319  { tokens_MODE, 1 },
320  { tokens_MARK, 1 },
321  { tokens_MOVE, 12 },
322  { tokens_KILL, 3 },
323  { tokens_EXEC, 2 },
324  { tokens_BAR, 2 },
325  { tokens_NOP, 1 },
326 };
static cmdp_token tokens_SCRATCHPAD[1]
static cmdp_token tokens_BORDER[5]
static cmdp_token tokens_CRITERION_STR[1]
static cmdp_token tokens_WORKSPACE_NUMBER[1]
static cmdp_token tokens_MOVE_DIRECTION_PX[2]
static cmdp_token tokens_SPLIT[4]
static cmdp_token tokens_RESIZE_PX[2]
static cmdp_token tokens_RENAME[1]
static cmdp_token tokens_MOVE_TO_POSITION_Y[2]
static cmdp_token tokens_MODE[1]
static cmdp_token tokens_SHMLOG[1]
static cmdp_token tokens_FULLSCREEN[2]
static cmdp_token tokens_WORKSPACE[7]
static cmdp_token tokens_EXEC[2]
static cmdp_token tokens_LAYOUT[7]
static cmdp_token tokens_RESIZE_TILING[3]
static cmdp_token tokens_MOVE_TO_POSITION[2]
static cmdp_token tokens_MOVE[12]
static cmdp_token tokens_RENAME_WORKSPACE_NEW_NAME[2]
static cmdp_token tokens_BAR_HIDDEN_STATE[3]
static cmdp_token tokens_CRITERION[1]
static cmdp_token tokens_RENAME_WORKSPACE_TO[1]
static cmdp_token tokens_DEBUGLOG[3]
static cmdp_token tokens_UNMARK[2]
static cmdp_token tokens_MOVE_WORKSPACE_TO_OUTPUT[2]
static cmdp_token tokens_RENAME_WORKSPACE[2]
static cmdp_token tokens_NOP[1]
static cmdp_token tokens_MARK[1]
static cmdp_token tokens_FLOATING[3]
static cmdp_token tokens_INITIAL[27]
static cmdp_token tokens_RESIZE[2]
static cmdp_token tokens_BAR_W_ID[2]
static cmdp_token tokens_RENAME_WORKSPACE_LIKELY_TO[2]
static cmdp_token tokens_FOCUS_OUTPUT[1]
static cmdp_token tokens_MOVE_TO_ABSOLUTE_POSITION[1]
static cmdp_token tokens_FOCUS[11]
static cmdp_token tokens_KILL[3]
static cmdp_token tokens_MOVE_WORKSPACE[9]
static cmdp_token_ptr tokens[51]
static cmdp_token tokens_RESIZE_DIRECTION[6]
static cmdp_token tokens_BAR_MODE[4]
static cmdp_token tokens_RESIZE_TILING_OR[1]
static cmdp_token tokens_MOVE_TO_OUTPUT[1]
static cmdp_token tokens_MOVE_TO_POSITION_X[2]
static cmdp_token tokens_BAR[2]
static cmdp_token tokens_MOVE_WORKSPACE_NUMBER[1]
static cmdp_token tokens_LAYOUT_TOGGLE[3]
static cmdp_token tokens_RESIZE_TILING_FINAL[2]
static cmdp_token tokens_BORDER_WIDTH[2]
static cmdp_token tokens_APPEND_LAYOUT[1]
static cmdp_token tokens_MOVE_DIRECTION[2]
static cmdp_token tokens_CRITERIA[9]