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