rofi  1.5.4
Settings Struct Reference

#include <settings.h>

Collaboration diagram for Settings:
Collaboration graph

Data Fields

char * modi
 
unsigned int menu_bw
 
int menu_width
 
unsigned int menu_lines
 
unsigned int menu_columns
 
char * menu_font
 
char * color_normal
 
char * color_active
 
char * color_urgent
 
char * color_window
 
gboolean show_icons
 
char * terminal_emulator
 
char * ssh_client
 
char * ssh_command
 
char * run_command
 
char * run_shell_command
 
char * run_list_command
 
char * window_command
 
char * window_match_fields
 
char * icon_theme
 
WindowLocation location
 
unsigned int padding
 
int y_offset
 
int x_offset
 
unsigned int fixed_num_lines
 
unsigned int disable_history
 
char * ignored_prefixes
 
unsigned int sort
 
SortingMethod sorting_method_enum
 
char * sorting_method
 
char * drun_match_fields
 
unsigned int drun_show_actions
 
char * drun_display_format
 
unsigned int case_sensitive
 
unsigned int cycle
 
int element_height
 
unsigned int sidebar_mode
 
unsigned int lazy_filter_limit
 
unsigned int auto_select
 
unsigned int parse_hosts
 
unsigned int parse_known_hosts
 
char * combi_modi
 
char * matching
 
MatchingMethod matching_method
 
unsigned int tokenize
 
char * monitor
 
unsigned int line_margin
 
unsigned int line_padding
 
char * filter
 
char * separator_style
 
unsigned int hide_scrollbar
 
unsigned int fullscreen
 
unsigned int fake_transparency
 
int dpi
 
unsigned int threads
 
unsigned int scroll_method
 
unsigned int scrollbar_width
 
char * fake_background
 
char * window_format
 
int click_to_exit
 
gboolean show_match
 
char * theme
 
char * plugin_path
 
unsigned int max_history_size
 
gboolean combi_hide_mode_prefix
 
char matching_negate_char
 
char * cache_dir
 

Detailed Description

Settings structure holding all (static) configurable options.

Definition at line 56 of file settings.h.

Field Documentation

◆ auto_select

unsigned int Settings::auto_select

Auto select.

Definition at line 136 of file settings.h.

Referenced by dmenu_switcher_dialog(), and rofi_view_refilter().

◆ cache_dir

char* Settings::cache_dir

Cache directory.

Definition at line 186 of file settings.h.

Referenced by main().

◆ case_sensitive

unsigned int Settings::case_sensitive

◆ click_to_exit

int Settings::click_to_exit

Click outside the window to exit

Definition at line 172 of file settings.h.

Referenced by main_loop_x11_event_handler_view().

◆ color_active

char* Settings::color_active

Definition at line 73 of file settings.h.

◆ color_normal

char* Settings::color_normal

New row colors

Definition at line 72 of file settings.h.

◆ color_urgent

char* Settings::color_urgent

Definition at line 74 of file settings.h.

◆ color_window

char* Settings::color_window

Definition at line 75 of file settings.h.

◆ combi_hide_mode_prefix

gboolean Settings::combi_hide_mode_prefix

Definition at line 181 of file settings.h.

Referenced by combi_mgrv().

◆ combi_modi

char* Settings::combi_modi

Combi Modes

Definition at line 142 of file settings.h.

Referenced by combi_mode_parse_switchers().

◆ cycle

unsigned int Settings::cycle

Cycle through in the element list

Definition at line 128 of file settings.h.

Referenced by listview_create().

◆ disable_history

unsigned int Settings::disable_history

Do not use history

Definition at line 110 of file settings.h.

Referenced by history_get_list(), history_remove(), and history_set().

◆ dpi

int Settings::dpi

dpi

Definition at line 162 of file settings.h.

Referenced by __create_window(), and cairo_image_surface_create_from_svg().

◆ drun_display_format

char* Settings::drun_display_format

Desktop entry show

Definition at line 124 of file settings.h.

◆ drun_match_fields

char* Settings::drun_match_fields

Desktop entries to match in drun

Definition at line 120 of file settings.h.

◆ drun_show_actions

unsigned int Settings::drun_show_actions

Desktop entry show actions

Definition at line 122 of file settings.h.

◆ element_height

int Settings::element_height

Height of an element in number of rows

Definition at line 130 of file settings.h.

Referenced by config_sanity_check(), and rofi_view_add_widget().

◆ fake_background

char* Settings::fake_background

Background type

Definition at line 168 of file settings.h.

Referenced by __create_window().

◆ fake_transparency

unsigned int Settings::fake_transparency

bg image

Definition at line 160 of file settings.h.

Referenced by __create_window().

◆ filter

char* Settings::filter

filter

Definition at line 152 of file settings.h.

Referenced by dmenu_switcher_dialog(), and run_switcher().

◆ fixed_num_lines

unsigned int Settings::fixed_num_lines

Always should config.menu_lines lines, even if less lines are available

Definition at line 108 of file settings.h.

Referenced by listview_create().

◆ fullscreen

unsigned int Settings::fullscreen

fullscreen

Definition at line 158 of file settings.h.

Referenced by __create_window(), and config_sanity_check().

◆ hide_scrollbar

unsigned int Settings::hide_scrollbar

hide scrollbar

Definition at line 156 of file settings.h.

◆ icon_theme

char* Settings::icon_theme

Theme for icons

Definition at line 97 of file settings.h.

Referenced by rofi_icon_fetcher_init(), and rofi_icon_fetcher_worker().

◆ ignored_prefixes

char* Settings::ignored_prefixes

Programs ignored for history

Definition at line 112 of file settings.h.

Referenced by history_set().

◆ lazy_filter_limit

unsigned int Settings::lazy_filter_limit

Lazy filter limit.

Definition at line 134 of file settings.h.

◆ line_margin

unsigned int Settings::line_margin

Line margin

Definition at line 149 of file settings.h.

◆ line_padding

unsigned int Settings::line_padding

Definition at line 150 of file settings.h.

◆ location

WindowLocation Settings::location

Windows location/gravity

Definition at line 100 of file settings.h.

Referenced by config_sanity_check(), dmenu_mode_init(), and rofi_view_calculate_window_position().

◆ matching

char* Settings::matching

Definition at line 143 of file settings.h.

Referenced by config_sanity_check().

◆ matching_method

MatchingMethod Settings::matching_method

Definition at line 144 of file settings.h.

Referenced by config_sanity_check(), and create_regex().

◆ matching_negate_char

char Settings::matching_negate_char

Definition at line 183 of file settings.h.

Referenced by create_regex().

◆ max_history_size

unsigned int Settings::max_history_size

Maximum history length per mode.

Definition at line 180 of file settings.h.

Referenced by __history_write_element_list().

◆ menu_bw

unsigned int Settings::menu_bw

Border width

Definition at line 61 of file settings.h.

◆ menu_columns

unsigned int Settings::menu_columns

Columns

Definition at line 67 of file settings.h.

Referenced by config_sanity_check(), and listview_create().

◆ menu_font

char* Settings::menu_font

Font string (pango format)

Definition at line 69 of file settings.h.

Referenced by __create_window(), and config_sanity_check().

◆ menu_lines

unsigned int Settings::menu_lines

lines

Definition at line 65 of file settings.h.

Referenced by dmenu_mode_init(), and rofi_view_add_widget().

◆ menu_width

int Settings::menu_width

Width (0-100 in %, > 100 in pixels, < 0 in char width.)

Definition at line 63 of file settings.h.

Referenced by config_sanity_check(), and rofi_view_calculate_window_width().

◆ modi

char* Settings::modi

List of enabled modi

Definition at line 59 of file settings.h.

Referenced by help_print_disabled_mode(), and setup_modi().

◆ monitor

char* Settings::monitor

Monitors

Definition at line 147 of file settings.h.

Referenced by config_sanity_check(), main(), and monitor_active().

◆ padding

unsigned int Settings::padding

Padding between elements

Definition at line 102 of file settings.h.

◆ parse_hosts

unsigned int Settings::parse_hosts

Hosts file parsing

Definition at line 138 of file settings.h.

Referenced by get_ssh().

◆ parse_known_hosts

unsigned int Settings::parse_known_hosts

Knonw_hosts file parsing

Definition at line 140 of file settings.h.

Referenced by get_ssh().

◆ plugin_path

char* Settings::plugin_path

Path where plugins can be found.

Definition at line 177 of file settings.h.

Referenced by rofi_collect_modi().

◆ run_command

char* Settings::run_command

Command for executing an application

Definition at line 87 of file settings.h.

Referenced by execute_generator(), and helper_execute_command().

◆ run_list_command

char* Settings::run_list_command

Command for listing executables

Definition at line 91 of file settings.h.

Referenced by get_apps(), and get_apps_external().

◆ run_shell_command

char* Settings::run_shell_command

Command for executing an application in a terminal

Definition at line 89 of file settings.h.

Referenced by helper_execute_command().

◆ scroll_method

unsigned int Settings::scroll_method

Definition at line 165 of file settings.h.

Referenced by rofi_view_add_widget().

◆ scrollbar_width

unsigned int Settings::scrollbar_width

Definition at line 166 of file settings.h.

◆ separator_style

char* Settings::separator_style

style

Definition at line 154 of file settings.h.

◆ show_icons

gboolean Settings::show_icons

Whether to load and show icons

Definition at line 78 of file settings.h.

Referenced by listview_recompute_elements().

◆ show_match

gboolean Settings::show_match

Definition at line 173 of file settings.h.

Referenced by update_callback().

◆ sidebar_mode

unsigned int Settings::sidebar_mode

Sidebar mode, show the modi

Definition at line 132 of file settings.h.

Referenced by rofi_view_add_widget(), and startup().

◆ sort

unsigned int Settings::sort

Toggle to enable sorting.

Definition at line 114 of file settings.h.

Referenced by filter_elements(), get_matching_state(), rofi_view_refilter(), and rofi_view_trigger_global_action().

◆ sorting_method

char* Settings::sorting_method

Sorting method.

Definition at line 118 of file settings.h.

Referenced by config_sanity_check().

◆ sorting_method_enum

SortingMethod Settings::sorting_method_enum

Sorting method.

Definition at line 116 of file settings.h.

Referenced by config_sanity_check(), and filter_elements().

◆ ssh_client

char* Settings::ssh_client

SSH client to use

Definition at line 83 of file settings.h.

Referenced by helper_parse_setup().

◆ ssh_command

char* Settings::ssh_command

Command to execute when ssh session is selected

Definition at line 85 of file settings.h.

Referenced by execshssh().

◆ terminal_emulator

char* Settings::terminal_emulator

Terminal to use

Definition at line 81 of file settings.h.

Referenced by helper_parse_setup().

◆ theme

char* Settings::theme

Definition at line 175 of file settings.h.

Referenced by main().

◆ threads

unsigned int Settings::threads

Number threads (1 to disable)

Definition at line 164 of file settings.h.

Referenced by rofi_view_workers_initialize().

◆ tokenize

unsigned int Settings::tokenize

Definition at line 145 of file settings.h.

Referenced by helper_tokenize().

◆ window_command

char* Settings::window_command

Command for window

Definition at line 93 of file settings.h.

◆ window_format

char* Settings::window_format

Definition at line 170 of file settings.h.

◆ window_match_fields

char* Settings::window_match_fields

Window fields to match in window mode

Definition at line 95 of file settings.h.

◆ x_offset

int Settings::x_offset

X offset

Definition at line 106 of file settings.h.

Referenced by rofi_view_calculate_window_position().

◆ y_offset

int Settings::y_offset

Y offset

Definition at line 104 of file settings.h.

Referenced by rofi_view_calculate_window_position().


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