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  { "'to", "old_name", RENAME_WORKSPACE_LIKELY_TO, { 0 } },
45  { "word", "old_name", RENAME_WORKSPACE_TO, { 0 } },
46 };
48  { "string", "workspace", __CALL, { 11 } },
49 };
51  { "'center", "", __CALL, { 12 } },
52  { "word", "coord_x", MOVE_TO_POSITION_X, { 0 } },
53 };
55  { "'up", "direction", RESIZE_PX, { 0 } },
56  { "'down", "direction", RESIZE_PX, { 0 } },
57  { "'left", "direction", RESIZE_PX, { 0 } },
58  { "'right", "direction", RESIZE_PX, { 0 } },
59  { "'width", "direction", RESIZE_PX, { 0 } },
60  { "'height", "direction", RESIZE_PX, { 0 } },
61 };
63  { "word", "resize_ppt", RESIZE_TILING_FINAL, { 0 } },
64 };
66  { "string", "output", __CALL, { 13 } },
67 };
69  { "'to ", "", MOVE_WORKSPACE_TO_OUTPUT, { 0 } },
70  { "'next_on_output", "workspace", __CALL, { 14 } },
71  { "'prev_on_output", "workspace", __CALL, { 15 } },
72  { "'next", "workspace", __CALL, { 16 } },
73  { "'prev", "workspace", __CALL, { 17 } },
74  { "'current", "workspace", __CALL, { 18 } },
75  { "'back_and_forth", "", __CALL, { 19 } },
76  { "'number", "", MOVE_WORKSPACE_NUMBER, { 0 } },
77  { "string", "workspace", __CALL, { 20 } },
78 };
80  { "word", "pixels", MOVE_DIRECTION_PX, { 0 } },
81  { "end", "", __CALL, { 21 } },
82 };
84  { "string", "path", __CALL, { 22 } },
85 };
87  { "'px", "", RESIZE_TILING, { 0 } },
88  { "'or", "", RESIZE_TILING_OR, { 0 } },
89  { "end", "", __CALL, { 23 } },
90 };
92  { "word", "cvalue", __CALL, { 24 } },
93 };
95  { "end", "", __CALL, { 25 } },
96  { "'split", "toggle_mode", __CALL, { 26 } },
97  { "'all", "toggle_mode", __CALL, { 27 } },
98 };
100  { "end", "", __CALL, { 28 } },
101  { "word", "border_width", __CALL, { 29 } },
102 };
104  { "string", "output", __CALL, { 30 } },
105 };
107  { "'show", "", __CALL, { 31 } },
108 };
110  { "'global", "fullscreen_mode", __CALL, { 32 } },
111  { "end", "", __CALL, { 33 } },
112 };
114  { "'next_on_output", "direction", __CALL, { 34 } },
115  { "'prev_on_output", "direction", __CALL, { 35 } },
116  { "'next", "direction", __CALL, { 36 } },
117  { "'prev", "direction", __CALL, { 37 } },
118  { "'back_and_forth", "", __CALL, { 38 } },
119  { "'number", "", WORKSPACE_NUMBER, { 0 } },
120  { "string", "workspace", __CALL, { 39 } },
121 };
123  { "word", "resize_px", RESIZE_TILING, { 0 } },
124  { "end", "", __CALL, { 40 } },
125 };
127  { "'=", "", CRITERION_STR, { 0 } },
128 };
130  { "'toggle", "argument", __CALL, { 41 } },
131  { "'on", "argument", __CALL, { 42 } },
132  { "'off", "argument", __CALL, { 43 } },
133 };
135  { "word", "bar_id", BAR_W_ID, { 0 } },
136  { "end", "", __CALL, { 44 } },
137 };
139  { "'dock", "bar_value", BAR_W_ID, { 0 } },
140  { "'hide", "bar_value", BAR_W_ID, { 0 } },
141  { "'invisible", "bar_value", BAR_W_ID, { 0 } },
142  { "'toggle", "bar_value", BAR_W_ID, { 0 } },
143 };
145  { "'enable", "floating", __CALL, { 45 } },
146  { "'disable", "floating", __CALL, { 46 } },
147  { "'toggle", "floating", __CALL, { 47 } },
148 };
150  { "'class", "ctype", CRITERION, { 0 } },
151  { "'instance", "ctype", CRITERION, { 0 } },
152  { "'window_role", "ctype", CRITERION, { 0 } },
153  { "'con_id", "ctype", CRITERION, { 0 } },
154  { "'id", "ctype", CRITERION, { 0 } },
155  { "'con_mark", "ctype", CRITERION, { 0 } },
156  { "'title", "ctype", CRITERION, { 0 } },
157  { "'urgent", "ctype", CRITERION, { 0 } },
158  { "']", "", __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  { "string", "argument", __CALL, { 54 } },
191 };
193  { "'default", "layout_mode", __CALL, { 55 } },
194  { "'stacked", "layout_mode", __CALL, { 56 } },
195  { "'stacking", "layout_mode", __CALL, { 57 } },
196  { "'tabbed", "layout_mode", __CALL, { 58 } },
197  { "'splitv", "layout_mode", __CALL, { 59 } },
198  { "'splith", "layout_mode", __CALL, { 60 } },
199  { "'toggle", "", LAYOUT_TOGGLE, { 0 } },
200 };
202  { "'grow", "way", RESIZE_DIRECTION, { 0 } },
203  { "'shrink", "way", RESIZE_DIRECTION, { 0 } },
204 };
206  { "'workspace", "", RENAME_WORKSPACE, { 0 } },
207 };
209  { "end", "", __CALL, { 61 } },
210  { "string", "mark", __CALL, { 62 } },
211 };
213  { "'normal", "border_style", BORDER_WIDTH, { 0 } },
214  { "'pixel", "border_style", BORDER_WIDTH, { 0 } },
215  { "'none", "border_style", __CALL, { 63 } },
216  { "'toggle", "border_style", __CALL, { 64 } },
217  { "'1pixel", "border_style", __CALL, { 65 } },
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_MOVE[12] = {
239  { "'window", "", MOVE, { 0 } },
240  { "'container", "", MOVE, { 0 } },
241  { "'to", "", MOVE, { 0 } },
242  { "'workspace", "", MOVE_WORKSPACE, { 0 } },
243  { "'output", "", MOVE_TO_OUTPUT, { 0 } },
244  { "'scratchpad", "", __CALL, { 80 } },
245  { "'left", "direction", MOVE_DIRECTION, { 0 } },
246  { "'right", "direction", MOVE_DIRECTION, { 0 } },
247  { "'up", "direction", MOVE_DIRECTION, { 0 } },
248  { "'down", "direction", MOVE_DIRECTION, { 0 } },
249  { "'position", "method", MOVE_TO_POSITION, { 0 } },
250  { "'absolute", "method", MOVE_TO_ABSOLUTE_POSITION, { 0 } },
251 };
252 static cmdp_token tokens_MODE[1] = {
253  { "string", "mode", __CALL, { 81 } },
254 };
255 static cmdp_token tokens_MARK[1] = {
256  { "string", "mark", __CALL, { 82 } },
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_TO_OUTPUT, 1 },
292  { tokens_MOVE_WORKSPACE, 9 },
293  { tokens_MOVE_DIRECTION, 2 },
294  { tokens_APPEND_LAYOUT, 1 },
295  { tokens_RESIZE_TILING, 3 },
296  { tokens_CRITERION_STR, 1 },
297  { tokens_LAYOUT_TOGGLE, 3 },
298  { tokens_BORDER_WIDTH, 2 },
299  { tokens_FOCUS_OUTPUT, 1 },
300  { tokens_SCRATCHPAD, 1 },
301  { tokens_FULLSCREEN, 2 },
302  { tokens_WORKSPACE, 7 },
303  { tokens_RESIZE_PX, 2 },
304  { tokens_CRITERION, 1 },
305  { tokens_DEBUGLOG, 3 },
306  { tokens_BAR_W_ID, 2 },
307  { tokens_BAR_MODE, 4 },
308  { tokens_FLOATING, 3 },
309  { tokens_CRITERIA, 9 },
310  { tokens_INITIAL, 27 },
311  { tokens_SHMLOG, 1 },
312  { tokens_LAYOUT, 7 },
313  { tokens_RESIZE, 2 },
314  { tokens_RENAME, 1 },
315  { tokens_UNMARK, 2 },
316  { tokens_BORDER, 5 },
317  { tokens_SPLIT, 4 },
318  { tokens_FOCUS, 11 },
319  { tokens_MOVE, 12 },
320  { tokens_MODE, 1 },
321  { tokens_MARK, 1 },
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]