rofi  1.7.0
Settings Struct Reference

#include <settings.h>

Collaboration diagram for Settings:
Collaboration graph

Data Fields

char * modi
 
char * menu_font
 
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
 
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
 
char * drun_categories
 
unsigned int drun_show_actions
 
char * drun_display_format
 
char * drun_url_launcher
 
unsigned int case_sensitive
 
unsigned int cycle
 
int element_height
 
unsigned int sidebar_mode
 
gboolean hover_select
 
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
 
char * filter
 
int dpi
 
unsigned int threads
 
unsigned int scroll_method
 
char * window_format
 
int click_to_exit
 
char * theme
 
char * plugin_path
 
unsigned int max_history_size
 
gboolean combi_hide_mode_prefix
 
char matching_negate_char
 
char * cache_dir
 
gboolean window_thumbnail
 
gboolean drun_use_desktop_cache
 
gboolean drun_reload_desktop_cache
 
gboolean benchmark_ui
 
gboolean normalize_match
 
gboolean steal_focus
 
char * application_fallback_icon
 

Detailed Description

Settings structure holding all (static) configurable options.

Definition at line 55 of file settings.h.

Field Documentation

◆ application_fallback_icon

char* Settings::application_fallback_icon

fallback icon

Definition at line 177 of file settings.h.

Referenced by fallback_icon().

◆ auto_select

unsigned int Settings::auto_select

Auto select.

Definition at line 126 of file settings.h.

Referenced by dmenu_switcher_dialog(), and rofi_view_refilter().

◆ benchmark_ui

gboolean Settings::benchmark_ui

Benchmark

Definition at line 171 of file settings.h.

Referenced by bench_update(), and main().

◆ cache_dir

char* Settings::cache_dir

Cache directory.

Definition at line 161 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 148 of file settings.h.

Referenced by main_loop_x11_event_handler_view().

◆ combi_hide_mode_prefix

gboolean Settings::combi_hide_mode_prefix

Definition at line 156 of file settings.h.

Referenced by combi_mgrv().

◆ combi_modi

char* Settings::combi_modi

Combi Modes

Definition at line 132 of file settings.h.

Referenced by combi_mode_parse_switchers().

◆ cycle

unsigned int Settings::cycle

Cycle through in the element list

Definition at line 116 of file settings.h.

Referenced by listview_create().

◆ disable_history

unsigned int Settings::disable_history

Do not use history

Definition at line 92 of file settings.h.

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

◆ dpi

int Settings::dpi

dpi

Definition at line 141 of file settings.h.

Referenced by __create_window(), and get_pixels().

◆ drun_categories

char* Settings::drun_categories

Only show entries in this category

Definition at line 105 of file settings.h.

Referenced by drun_mode_init().

◆ drun_display_format

char* Settings::drun_display_format

Desktop format display

Definition at line 109 of file settings.h.

Referenced by _get_display_value(), and drun_mode_parse_display_format().

◆ drun_match_fields

char* Settings::drun_match_fields

Desktop entries to match in drun

Definition at line 103 of file settings.h.

Referenced by drun_mode_parse_entry_fields().

◆ drun_reload_desktop_cache

gboolean Settings::drun_reload_desktop_cache

Definition at line 168 of file settings.h.

Referenced by drun_read_cache().

◆ drun_show_actions

unsigned int Settings::drun_show_actions

Desktop entry show actions

Definition at line 107 of file settings.h.

Referenced by read_desktop_file().

◆ drun_url_launcher

char* Settings::drun_url_launcher

Desktop Link launch command

Definition at line 111 of file settings.h.

Referenced by launch_link_entry().

◆ drun_use_desktop_cache

gboolean Settings::drun_use_desktop_cache

drun cache

Definition at line 167 of file settings.h.

Referenced by drun_read_cache(), and write_cache().

◆ element_height

int Settings::element_height

Height of an element in number of rows

Definition at line 118 of file settings.h.

Referenced by config_sanity_check(), and rofi_view_add_widget().

◆ filter

char* Settings::filter

filter

Definition at line 139 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 90 of file settings.h.

Referenced by listview_create().

◆ hover_select

gboolean Settings::hover_select

Mouse hover automatically selects

Definition at line 122 of file settings.h.

Referenced by main_loop_x11_event_handler_view(), and rofi_view_ping_mouse().

◆ icon_theme

char* Settings::icon_theme

Theme for icons

Definition at line 81 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 94 of file settings.h.

Referenced by history_set().

◆ lazy_filter_limit

unsigned int Settings::lazy_filter_limit

Lazy filter limit.

Definition at line 124 of file settings.h.

◆ location

WindowLocation Settings::location

Windows location/gravity

Definition at line 84 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 133 of file settings.h.

Referenced by config_sanity_check().

◆ matching_method

MatchingMethod Settings::matching_method

Definition at line 134 of file settings.h.

Referenced by config_sanity_check(), and create_regex().

◆ matching_negate_char

char Settings::matching_negate_char

Definition at line 158 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 155 of file settings.h.

Referenced by __history_write_element_list().

◆ menu_font

char* Settings::menu_font

Font string (pango format)

Definition at line 59 of file settings.h.

Referenced by __create_window(), and config_sanity_check().

◆ modi

char* Settings::modi

List of enabled modi

Definition at line 57 of file settings.h.

Referenced by help_print_disabled_mode(), and setup_modi().

◆ monitor

char* Settings::monitor

Monitors

Definition at line 137 of file settings.h.

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

◆ normalize_match

gboolean Settings::normalize_match

Definition at line 173 of file settings.h.

Referenced by helper_token_match(), helper_token_match_get_pango_attr(), and R().

◆ parse_hosts

unsigned int Settings::parse_hosts

Hosts file parsing

Definition at line 128 of file settings.h.

Referenced by get_ssh().

◆ parse_known_hosts

unsigned int Settings::parse_known_hosts

Knonw_hosts file parsing

Definition at line 130 of file settings.h.

Referenced by get_ssh().

◆ plugin_path

char* Settings::plugin_path

Path where plugins can be found.

Definition at line 152 of file settings.h.

Referenced by rofi_collect_modi().

◆ run_command

char* Settings::run_command

Command for executing an application

Definition at line 71 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 75 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 73 of file settings.h.

Referenced by helper_execute_command().

◆ scroll_method

unsigned int Settings::scroll_method

Definition at line 144 of file settings.h.

Referenced by rofi_view_add_widget().

◆ show_icons

gboolean Settings::show_icons

Whether to load and show icons

Definition at line 62 of file settings.h.

Referenced by listview_create_row().

◆ sidebar_mode

unsigned int Settings::sidebar_mode

Sidebar mode, show the modi

Definition at line 120 of file settings.h.

Referenced by rofi_view_add_widget(), and startup().

◆ sort

unsigned int Settings::sort

Toggle to enable sorting.

Definition at line 96 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 100 of file settings.h.

Referenced by config_sanity_check().

◆ sorting_method_enum

SortingMethod Settings::sorting_method_enum

Sorting method.

Definition at line 98 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 67 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 69 of file settings.h.

Referenced by execshssh().

◆ steal_focus

gboolean Settings::steal_focus

Steal focus

Definition at line 175 of file settings.h.

Referenced by rofi_xcb_set_input_focus().

◆ terminal_emulator

char* Settings::terminal_emulator

Terminal to use

Definition at line 65 of file settings.h.

Referenced by helper_parse_setup().

◆ theme

char* Settings::theme

Definition at line 150 of file settings.h.

Referenced by main().

◆ threads

unsigned int Settings::threads

Number threads (1 to disable)

Definition at line 143 of file settings.h.

Referenced by rofi_view_workers_initialize().

◆ tokenize

unsigned int Settings::tokenize

Definition at line 135 of file settings.h.

Referenced by helper_tokenize().

◆ window_command

char* Settings::window_command

Command for window

Definition at line 77 of file settings.h.

◆ window_format

char* Settings::window_format

Definition at line 146 of file settings.h.

◆ window_match_fields

char* Settings::window_match_fields

Window fields to match in window mode

Definition at line 79 of file settings.h.

◆ window_thumbnail

gboolean Settings::window_thumbnail

Window Thumbnails

Definition at line 164 of file settings.h.

◆ x_offset

int Settings::x_offset

X offset

Definition at line 88 of file settings.h.

Referenced by rofi_view_calculate_window_position().

◆ y_offset

int Settings::y_offset

Y offset

Definition at line 86 of file settings.h.

Referenced by rofi_view_calculate_window_position().


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