i3
Main Page
Data Structures
Files
File List
Globals
include
config_directives.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
* config_directives.h: all config storing functions (see config_parser.c)
8
*
9
*/
10
#ifndef I3_CONFIG_DIRECTIVES_H
11
#define I3_CONFIG_DIRECTIVES_H
12
13
#include "
config_parser.h
"
14
16
#define I3_CFG Match *current_match, struct ConfigResult *result
17
18
/* Defines a configuration function, that is, anything that can be called by
19
* using 'call cfg_foo()' in parser-specs/.*.spec. Useful so that we don’t need
20
* to repeat the definition all the time. */
21
#define CFGFUN(name, ...) \
22
void cfg_ ## name (I3_CFG, ## __VA_ARGS__ )
23
24
/* The following functions are called by the config parser, see
25
* parser-specs/config.spec. They get the parsed parameters and store them in
26
* our data structures, e.g. cfg_font gets a font name and stores it in
27
* config.font.
28
*
29
* Since they are so similar, individual comments were omitted. */
30
31
CFGFUN
(criteria_init,
int
_state);
32
CFGFUN
(criteria_add,
const
char
*ctype,
const
char
*cvalue);
33
CFGFUN
(criteria_pop_state);
34
35
CFGFUN
(font,
const
char
*font);
36
CFGFUN
(exec,
const
char
*exectype,
const
char
*no_startup_id,
const
char
*command);
37
CFGFUN
(for_window,
const
char
*command);
38
CFGFUN
(floating_minimum_size,
const
long
width
,
const
long
height
);
39
CFGFUN
(floating_maximum_size,
const
long
width
,
const
long
height
);
40
CFGFUN
(default_orientation,
const
char
*orientation);
41
CFGFUN
(workspace_layout,
const
char
*layout);
42
CFGFUN
(
workspace_back_and_forth
,
const
char
*value);
43
CFGFUN
(focus_follows_mouse,
const
char
*value);
44
CFGFUN
(force_focus_wrapping,
const
char
*value);
45
CFGFUN
(force_xinerama,
const
char
*value);
46
CFGFUN
(fake_outputs,
const
char
*
outputs
);
47
CFGFUN
(force_display_urgency_hint,
const
long
duration_ms);
48
CFGFUN
(hide_edge_borders,
const
char
*borders);
49
CFGFUN
(assign,
const
char
*workspace);
50
CFGFUN
(ipc_socket,
const
char
*path);
51
CFGFUN
(restart_state,
const
char
*path);
52
CFGFUN
(popup_during_fullscreen,
const
char
*value);
53
CFGFUN
(color,
const
char
*colorclass,
const
char
*border,
const
char
*background,
const
char
*text,
const
char
*indicator);
54
CFGFUN
(color_single,
const
char
*colorclass,
const
char
*color);
55
CFGFUN
(floating_modifier,
const
char
*modifiers);
56
CFGFUN
(new_window,
const
char
*windowtype,
const
char
*border,
const
long
width
);
57
CFGFUN
(workspace,
const
char
*workspace,
const
char
*output);
58
CFGFUN
(binding,
const
char
*bindtype,
const
char
*modifiers,
const
char
*key,
const
char
*release,
const
char
*command);
59
60
CFGFUN
(enter_mode,
const
char
*mode);
61
CFGFUN
(mode_binding,
const
char
*bindtype,
const
char
*modifiers,
const
char
*key,
const
char
*release,
const
char
*command);
62
63
CFGFUN
(bar_font,
const
char
*font);
64
CFGFUN
(bar_mode,
const
char
*mode);
65
CFGFUN
(bar_hidden_state,
const
char
*hidden_state);
66
CFGFUN
(bar_id,
const
char
*bar_id);
67
CFGFUN
(bar_output,
const
char
*output);
68
CFGFUN
(bar_verbose,
const
char
*
verbose
);
69
CFGFUN
(bar_modifier,
const
char
*modifier);
70
CFGFUN
(bar_position,
const
char
*position);
71
CFGFUN
(bar_i3bar_command,
const
char
*i3bar_command);
72
CFGFUN
(bar_color,
const
char
*colorclass,
const
char
*border,
const
char
*background,
const
char
*text);
73
CFGFUN
(bar_socket_path,
const
char
*socket_path);
74
CFGFUN
(bar_tray_output,
const
char
*output);
75
CFGFUN
(bar_color_single,
const
char
*colorclass,
const
char
*color);
76
CFGFUN
(bar_status_command,
const
char
*command);
77
CFGFUN
(bar_workspace_buttons,
const
char
*value);
78
CFGFUN
(bar_finish);
79
80
#endif
Generated by
1.8.4