i3
Main Page
Data Structures
Files
File List
Globals
include
commands.h
Go to the documentation of this file.
1
/*
2
* vim:ts=4:sw=4:expandtab
3
*
4
* i3 - an improved dynamic tiling window manager
5
* © 2009-2012 Michael Stapelberg and contributors (see also: LICENSE)
6
*
7
* commands.c: all command functions (see commands_parser.c)
8
*
9
*/
10
#ifndef I3_COMMANDS_H
11
#define I3_COMMANDS_H
12
13
#include "
commands_parser.h
"
14
16
#define I3_CMD Match *current_match, struct CommandResult *cmd_output
17
23
void
cmd_criteria_init
(
I3_CMD
);
24
30
void
cmd_criteria_match_windows
(
I3_CMD
);
31
37
void
cmd_criteria_add
(
I3_CMD
,
char
*ctype,
char
*cvalue);
38
44
void
cmd_move_con_to_workspace
(
I3_CMD
,
char
*which);
45
50
void
cmd_move_con_to_workspace_back_and_forth
(
I3_CMD
);
51
56
void
cmd_move_con_to_workspace_name
(
I3_CMD
,
char
*name);
57
62
void
cmd_move_con_to_workspace_number
(
I3_CMD
,
char
*which);
63
68
void
cmd_resize
(
I3_CMD
,
char
*way,
char
*direction,
char
*resize_px,
char
*resize_ppt);
69
74
void
cmd_border
(
I3_CMD
,
char
*border_style_str,
char
*border_width);
75
80
void
cmd_nop
(
I3_CMD
,
char
*comment);
81
86
void
cmd_append_layout
(
I3_CMD
,
char
*path);
87
92
void
cmd_workspace
(
I3_CMD
,
char
*which);
93
98
void
cmd_workspace_number
(
I3_CMD
,
char
*which);
99
104
void
cmd_workspace_back_and_forth
(
I3_CMD
);
105
110
void
cmd_workspace_name
(
I3_CMD
,
char
*name);
111
116
void
cmd_mark
(
I3_CMD
,
char
*mark);
117
122
void
cmd_mode
(
I3_CMD
,
char
*mode);
123
128
void
cmd_move_con_to_output
(
I3_CMD
,
char
*name);
129
134
void
cmd_floating
(
I3_CMD
,
char
*floating_mode);
135
140
void
cmd_move_workspace_to_output
(
I3_CMD
,
char
*name);
141
146
void
cmd_split
(
I3_CMD
,
char
*direction);
147
152
void
cmd_kill
(
I3_CMD
,
char
*kill_mode_str);
153
158
void
cmd_exec
(
I3_CMD
,
char
*nosn,
char
*command);
159
164
void
cmd_focus_direction
(
I3_CMD
,
char
*direction);
165
170
void
cmd_focus_window_mode
(
I3_CMD
,
char
*window_mode);
171
176
void
cmd_focus_level
(
I3_CMD
,
char
*level);
177
182
void
cmd_focus
(
I3_CMD
);
183
188
void
cmd_fullscreen
(
I3_CMD
,
char
*fullscreen_mode);
189
194
void
cmd_move_direction
(
I3_CMD
,
char
*direction,
char
*move_px);
195
200
void
cmd_layout
(
I3_CMD
,
char
*layout_str);
201
206
void
cmd_layout_toggle
(
I3_CMD
,
char
*toggle_mode);
207
212
void
cmd_exit
(
I3_CMD
);
213
218
void
cmd_reload
(
I3_CMD
);
219
224
void
cmd_restart
(
I3_CMD
);
225
230
void
cmd_open
(
I3_CMD
);
231
236
void
cmd_focus_output
(
I3_CMD
,
char
*name);
237
242
void
cmd_move_window_to_position
(
I3_CMD
,
char
*method,
char
*
x
,
char
*
y
);
243
248
void
cmd_move_window_to_center
(
I3_CMD
,
char
*method);
249
254
void
cmd_move_scratchpad
(
I3_CMD
);
255
260
void
cmd_scratchpad_show
(
I3_CMD
);
261
266
void
cmd_rename_workspace
(
I3_CMD
,
char
*old_name,
char
*new_name);
267
268
#endif
Generated by
1.8.3