i3
|
Holds part of the configuration (the part which is not already in dedicated structures in include/data.h). More...
#include <config.h>
Data Structures | |
struct | config_bar |
struct | config_client |
Public Types | |
enum | { PDF_LEAVE_FULLSCREEN = 0, PDF_IGNORE = 1 } |
What should happen when a new popup is opened during fullscreen mode. More... |
Data Fields | |
const char * | terminal |
i3Font | font |
char * | ipc_socket_path |
const char * | restart_state_path |
int | default_layout |
int | container_stack_limit |
int | container_stack_limit_value |
int | default_orientation |
Default orientation for new containers. | |
bool | disable_focus_follows_mouse |
By default, focus follows mouse. | |
bool | disable_workspace_bar |
By default, a workspace bar is drawn at the bottom of the screen. | |
bool | force_focus_wrapping |
Think of the following layout: Horizontal workspace with a tabbed con on the left of the screen and a terminal on the right of the screen. | |
bool | force_xinerama |
By default, use the RandR API for multi-monitor setups. | |
char * | fake_outputs |
Overwrites output detection (for testing), see src/fake_outputs.c. | |
bool | workspace_auto_back_and_forth |
Automatic workspace back and forth switching. | |
border_style_t | default_border |
The default border style for new windows. | |
border_style_t | default_floating_border |
The default border style for new floating windows. | |
uint32_t | floating_modifier |
The modifier which needs to be pressed in combination with your mouse buttons to do things with floating windows (move, resize) | |
int32_t | floating_maximum_width |
Maximum and minimum dimensions of a floating window. | |
int32_t | floating_maximum_height |
int32_t | floating_minimum_width |
int32_t | floating_minimum_height |
struct Config::config_client | client |
struct Config::config_bar | bar |
enum Config:: { ... } | popup_during_fullscreen |
What should happen when a new popup is opened during fullscreen mode. |
Holds part of the configuration (the part which is not already in dedicated structures in include/data.h).
anonymous enum |
struct Config::config_bar Config::bar |
Referenced by load_configuration().
struct Config::config_client Config::client |
Referenced by load_configuration(), resize_graphical_handler(), and x_draw_decoration().
int Config::container_stack_limit_value |
border_style_t Config::default_border |
The default border style for new windows.
Definition at line 147 of file config.h.
Referenced by con_new(), load_configuration(), and yyparse().
border_style_t Config::default_floating_border |
The default border style for new floating windows.
Definition at line 150 of file config.h.
Referenced by floating_enable(), load_configuration(), and yyparse().
int Config::default_layout |
Definition at line 98 of file config.h.
Referenced by con_attach(), workspace_attach_to(), and yyparse().
int Config::default_orientation |
Default orientation for new containers.
Definition at line 103 of file config.h.
Referenced by con_set_layout(), create_workspace_on_output(), load_configuration(), output_change_mode(), workspace_attach_to(), workspace_get(), and yyparse().
bool Config::disable_focus_follows_mouse |
By default, focus follows mouse.
If the user explicitly wants to turn this off (and instead rely only on the keyboard for changing focus), we allow him to do this with this relatively special option. It is not planned to add any different focus models.
Definition at line 109 of file config.h.
Referenced by check_crossing_screen_boundary(), handle_enter_notify(), handle_motion_notify(), and yyparse().
bool Config::disable_workspace_bar |
By default, a workspace bar is drawn at the bottom of the screen.
If you want to have a more fancy bar, it is recommended to replace the whole bar by dzen2, for example using the i3-wsbar script which comes with i3. Thus, you can turn it off entirely.
Definition at line 115 of file config.h.
Referenced by yyparse().
char* Config::fake_outputs |
Overwrites output detection (for testing), see src/fake_outputs.c.
int32_t Config::floating_maximum_height |
Definition at line 158 of file config.h.
Referenced by floating_enable(), and yyparse().
int32_t Config::floating_maximum_width |
Maximum and minimum dimensions of a floating window.
Definition at line 157 of file config.h.
Referenced by floating_enable(), and yyparse().
int32_t Config::floating_minimum_height |
Definition at line 160 of file config.h.
Referenced by floating_enable(), and yyparse().
int32_t Config::floating_minimum_width |
Definition at line 159 of file config.h.
Referenced by floating_enable(), and yyparse().
uint32_t Config::floating_modifier |
The modifier which needs to be pressed in combination with your mouse buttons to do things with floating windows (move, resize)
Definition at line 154 of file config.h.
Referenced by handle_button_press(), and yyparse().
i3Font Config::font |
Definition at line 93 of file config.h.
Referenced by con_set_border_style(), floating_enable(), handle_configure_request(), handle_signal(), load_configuration(), render_con(), and yyparse().
bool Config::force_focus_wrapping |
Think of the following layout: Horizontal workspace with a tabbed con on the left of the screen and a terminal on the right of the screen.
You are in the second container in the tabbed container and focus to the right. By default, i3 will set focus to the terminal on the right. If you are in the first container in the tabbed container however, focusing to the left will wrap. This option forces i3 to always wrap, which will result in you having to use "focus parent" more often.
Definition at line 125 of file config.h.
Referenced by _tree_next(), and yyparse().
bool Config::force_xinerama |
By default, use the RandR API for multi-monitor setups.
Unfortunately, the nVidia binary graphics driver doesn't support this API. Instead, it only support the less powerful Xinerama API, which can be enabled by this option.
Note: this option takes only effect on the initial startup (eg. reconfiguration is not possible). On startup, the list of screens is fetched once and never updated.
char* Config::ipc_socket_path |
enum { ... } Config::popup_during_fullscreen |
What should happen when a new popup is opened during fullscreen mode.
Referenced by manage_window(), and yyparse().
const char* Config::restart_state_path |
Definition at line 96 of file config.h.
Referenced by store_restart_layout(), and yyparse().
bool Config::workspace_auto_back_and_forth |
Automatic workspace back and forth switching.
If this is set, a switch to the currently active workspace will switch to the previously focused one instead, making it possible to fast toggle between two workspaces.
Definition at line 144 of file config.h.
Referenced by cmd_workspace_name(), and yyparse().