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_SMART = 0, PDF_LEAVE_FULLSCREEN = 1, PDF_IGNORE = 2 } |
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 |
layout_t | default_layout |
int | container_stack_limit |
int | container_stack_limit_value |
int | default_border_width |
int | default_floating_border_width |
int | default_orientation |
Default orientation for new containers. More... | |
bool | disable_focus_follows_mouse |
By default, focus follows mouse. More... | |
warping_t | mouse_warping |
By default, when switching focus to a window on a different output (e.g. More... | |
adjacent_t | hide_edge_borders |
Remove borders if they are adjacent to the screen edge. More... | |
bool | disable_workspace_bar |
By default, a workspace bar is drawn at the bottom of the screen. More... | |
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. More... | |
bool | force_xinerama |
By default, use the RandR API for multi-monitor setups. More... | |
char * | fake_outputs |
Overwrites output detection (for testing), see src/fake_outputs.c. More... | |
bool | workspace_auto_back_and_forth |
Automatic workspace back and forth switching. More... | |
float | workspace_urgency_timer |
By default, urgency is cleared immediately when switching to another workspace leads to focusing the con with the urgency hint. More... | |
border_style_t | default_border |
The default border style for new windows. More... | |
border_style_t | default_floating_border |
The default border style for new floating windows. More... | |
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) More... | |
int32_t | floating_maximum_width |
Maximum and minimum dimensions of a floating window. More... | |
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. More... | |
int | number_barconfigs |
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 |
border_style_t Config::default_border |
The default border style for new windows.
Definition at line 171 of file config.h.
Referenced by CFGFUN(), con_new_skeleton(), and load_configuration().
int Config::default_border_width |
Definition at line 100 of file config.h.
Referenced by CFGFUN(), con_border_style_rect(), handle_client_message(), load_configuration(), and manage_window().
border_style_t Config::default_floating_border |
The default border style for new floating windows.
Definition at line 174 of file config.h.
Referenced by CFGFUN(), floating_enable(), and load_configuration().
int Config::default_floating_border_width |
Definition at line 101 of file config.h.
Referenced by CFGFUN(), con_border_style_rect(), load_configuration(), and manage_window().
layout_t Config::default_layout |
Definition at line 97 of file config.h.
Referenced by CFGFUN(), create_workspace_on_output(), and workspace_get().
int Config::default_orientation |
Default orientation for new containers.
Definition at line 104 of file config.h.
Referenced by _workspace_apply_default_orientation(), CFGFUN(), load_configuration(), and output_change_mode().
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 110 of file config.h.
Referenced by CFGFUN(), check_crossing_screen_boundary(), handle_enter_notify(), handle_motion_notify(), and x_set_warp_to().
bool Config::disable_workspace_bar |
char* Config::fake_outputs |
Overwrites output detection (for testing), see src/fake_outputs.c.
int32_t Config::floating_maximum_height |
Definition at line 182 of file config.h.
Referenced by CFGFUN(), and floating_check_size().
int32_t Config::floating_maximum_width |
Maximum and minimum dimensions of a floating window.
Definition at line 181 of file config.h.
Referenced by CFGFUN(), and floating_check_size().
int32_t Config::floating_minimum_height |
Definition at line 184 of file config.h.
Referenced by CFGFUN(), and floating_check_size().
int32_t Config::floating_minimum_width |
Definition at line 183 of file config.h.
Referenced by CFGFUN(), and floating_check_size().
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 178 of file config.h.
Referenced by CFGFUN(), and handle_button_press().
i3Font Config::font |
Definition at line 92 of file config.h.
Referenced by CFGFUN(), handle_client_message(), load_configuration(), open_popups(), parse_file(), render_deco_height(), and run_binding().
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 142 of file config.h.
Referenced by _tree_next(), and CFGFUN().
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.
adjacent_t Config::hide_edge_borders |
Remove borders if they are adjacent to the screen edge.
This is useful if you are reaching scrollbar on the edge of the screen or do not want to waste a single pixel of displayspace. By default, this is disabled.
Definition at line 126 of file config.h.
Referenced by CFGFUN(), and con_border_style_rect().
char* Config::ipc_socket_path |
Definition at line 94 of file config.h.
Referenced by CFGFUN(), cmd_exit(), cmd_restart(), and main().
warping_t Config::mouse_warping |
By default, when switching focus to a window on a different output (e.g.
focusing a window on workspace 3 on output VGA-1, coming from workspace 2 on LVDS-1), the mouse cursor is warped to the center of that window.
With the mouse_warping option, you can control when the mouse cursor should be warped. "none" disables warping entirely, whereas "output" is the default behavior described above.
Definition at line 120 of file config.h.
Referenced by CFGFUN(), and x_set_warp_to().
enum { ... } Config::popup_during_fullscreen |
What should happen when a new popup is opened during fullscreen mode.
Referenced by CFGFUN(), and manage_window().
const char* Config::restart_state_path |
Definition at line 95 of file config.h.
Referenced by CFGFUN(), and store_restart_layout().
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 161 of file config.h.
Referenced by CFGFUN(), maybe_auto_back_and_forth_workspace(), and maybe_back_and_forth().
float Config::workspace_urgency_timer |
By default, urgency is cleared immediately when switching to another workspace leads to focusing the con with the urgency hint.
When having multiple windows on that workspace, the user needs to guess which application raised the event. To prevent this, the reset of the urgency flag can be delayed using an urgency timer.
Definition at line 168 of file config.h.
Referenced by _workspace_show(), CFGFUN(), and load_configuration().