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