i3
Data Structures | Public Types | Data Fields
Config Struct Reference

Holds part of the configuration (the part which is not already in dedicated structures in include/data.h). More...

#include <config.h>

Collaboration diagram for Config:
Collaboration graph
[legend]

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.
border_style_t default_border
 The default border style for new 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)
struct Config::config_client client
struct Config::config_bar bar
enum Config:: { ... }  popup_during_fullscreen

Detailed Description

Holds part of the configuration (the part which is not already in dedicated structures in include/data.h).

Definition at line 90 of file config.h.


Member Enumeration Documentation

anonymous enum

What should happen when a new popup is opened during fullscreen mode.

Enumerator:
PDF_LEAVE_FULLSCREEN 
PDF_IGNORE 

Definition at line 148 of file config.h.


Field Documentation

Referenced by load_configuration().

Definition at line 98 of file config.h.

Definition at line 99 of file config.h.

The default border style for new windows.

Definition at line 127 of file config.h.

Referenced by con_new(), and load_configuration().

Definition at line 97 of file config.h.

Referenced by workspace_attach_to().

Default orientation for new containers.

Definition at line 102 of file config.h.

Referenced by con_set_layout(), init_ws_for_output(), load_configuration(), output_change_mode(), workspace_attach_to(), and workspace_get().

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 108 of file config.h.

Referenced by check_crossing_screen_boundary(), handle_enter_notify(), and handle_motion_notify().

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 114 of file config.h.

The modifier which needs to be pressed in combination with your mouse buttons to do things with floating windows (move, resize)

Definition at line 131 of file config.h.

Referenced by handle_button_press().

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 124 of file config.h.

Referenced by _tree_next().

Definition at line 94 of file config.h.

Referenced by main().

Referenced by manage_window().

Definition at line 95 of file config.h.

Referenced by store_restart_layout().

const char* Config::terminal

Definition at line 91 of file config.h.


The documentation for this struct was generated from the following file: