rofi 2.1.0
Settings Struct Reference

#include <settings.h>

Collaboration diagram for Settings:
Collaboration graph

Data Fields

char * modes
char * menu_font
gboolean show_icons
char * preview_cmd
char * on_selection_changed
char * on_mode_changed
char * on_entry_accepted
char * on_menu_canceled
char * on_menu_error
char * on_screenshot_taken
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
DisplayBackend backend
char * wayland_layer
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
char * drun_exclude_categories
unsigned int drun_show_actions
char * drun_display_format
char * drun_url_launcher
unsigned int case_sensitive
unsigned int case_smart
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_modes
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
int touch_scroll_step
gboolean global_kb
char * theme
char * plugin_path
unsigned int max_history_size
gboolean combi_hide_mode_prefix
char * combi_display_format
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
unsigned int refilter_timeout_limit
gboolean xserver_i300_workaround
char * completer_mode
gboolean enable_imdkit
char * fallback_icon_themes

Detailed Description

Settings structure holding all (static) configurable options.

Definition at line 61 of file settings.h.

Field Documentation

◆ application_fallback_icon

char* Settings::application_fallback_icon

fallback icon

Definition at line 214 of file settings.h.

◆ auto_select

unsigned int Settings::auto_select

Auto select.

Definition at line 156 of file settings.h.

Referenced by dmenu_mode_dialog(), dmenu_mode_init(), and rofi_view_refilter_real().

◆ backend

◆ benchmark_ui

gboolean Settings::benchmark_ui

Benchmark

Definition at line 208 of file settings.h.

Referenced by bench_update(), and main().

◆ cache_dir

char* Settings::cache_dir

Cache directory.

Definition at line 198 of file settings.h.

Referenced by main().

◆ case_sensitive

unsigned int Settings::case_sensitive

Search case sensitivity

Definition at line 142 of file settings.h.

Referenced by dmenu_mode_init(), parse_case_sensitivity(), and rofi_view_trigger_global_action().

◆ case_smart

unsigned int Settings::case_smart

Smart case sensitivity like vim

Definition at line 144 of file settings.h.

Referenced by parse_case_sensitivity(), and rofi_view_refilter_real().

◆ click_to_exit

int Settings::click_to_exit

◆ combi_display_format

char* Settings::combi_display_format

Combi format display

Definition at line 193 of file settings.h.

Referenced by combi_mgrv().

◆ combi_hide_mode_prefix

gboolean Settings::combi_hide_mode_prefix

Definition at line 191 of file settings.h.

Referenced by combi_mgrv().

◆ combi_modes

char* Settings::combi_modes

Combi Modes

Definition at line 162 of file settings.h.

Referenced by combi_mode_parse_switchers().

◆ completer_mode

char* Settings::completer_mode

completer mode

Definition at line 223 of file settings.h.

Referenced by rofi_get_completer().

◆ cycle

unsigned int Settings::cycle

Cycle through in the element list

Definition at line 146 of file settings.h.

Referenced by listview_create().

◆ disable_history

unsigned int Settings::disable_history

Do not use history

Definition at line 118 of file settings.h.

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

◆ dpi

int Settings::dpi

◆ drun_categories

char* Settings::drun_categories

Only show entries in this category

Definition at line 131 of file settings.h.

◆ drun_display_format

char* Settings::drun_display_format

Desktop format display

Definition at line 137 of file settings.h.

◆ drun_exclude_categories

char* Settings::drun_exclude_categories

Exclude entries in this category

Definition at line 133 of file settings.h.

◆ drun_match_fields

char* Settings::drun_match_fields

Desktop entries to match in drun

Definition at line 129 of file settings.h.

◆ drun_reload_desktop_cache

gboolean Settings::drun_reload_desktop_cache

Definition at line 205 of file settings.h.

◆ drun_show_actions

unsigned int Settings::drun_show_actions

Desktop entry show actions

Definition at line 135 of file settings.h.

◆ drun_url_launcher

char* Settings::drun_url_launcher

Desktop Link launch command

Definition at line 139 of file settings.h.

◆ drun_use_desktop_cache

gboolean Settings::drun_use_desktop_cache

drun cache

Definition at line 204 of file settings.h.

◆ element_height

int Settings::element_height

Height of an element in number of rows

Definition at line 148 of file settings.h.

Referenced by config_sanity_check(), and rofi_view_add_widget().

◆ enable_imdkit

gboolean Settings::enable_imdkit

◆ fallback_icon_themes

char* Settings::fallback_icon_themes

Fallback icon theme setting.

Definition at line 227 of file settings.h.

Referenced by rofi_icon_fetcher_init().

◆ filter

char* Settings::filter

filter

Definition at line 169 of file settings.h.

Referenced by dmenu_mode_dialog(), and run_mode_index().

◆ fixed_num_lines

unsigned int Settings::fixed_num_lines

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

Definition at line 116 of file settings.h.

Referenced by listview_create().

◆ global_kb

gboolean Settings::global_kb

Try to take over compositor's global bindings (on Wayland)

Definition at line 183 of file settings.h.

Referenced by wayland_display_late_setup().

◆ hover_select

gboolean Settings::hover_select

Mouse hover automatically selects

Definition at line 152 of file settings.h.

Referenced by main_loop_x11_event_handler_view(), wayland_pointer_send_events(), and xcb_rofi_view_ping_mouse().

◆ icon_theme

char* Settings::icon_theme

Theme for icons

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

Referenced by history_set().

◆ lazy_filter_limit

unsigned int Settings::lazy_filter_limit

Lazy filter limit.

Definition at line 154 of file settings.h.

◆ location

WindowLocation Settings::location

Windows location/gravity

Definition at line 110 of file settings.h.

Referenced by config_sanity_check(), dmenu_mode_init(), rofi_get_location(), and xcb_rofi_view_calculate_window_position().

◆ matching

char* Settings::matching

Definition at line 163 of file settings.h.

Referenced by config_sanity_check().

◆ matching_method

◆ matching_negate_char

char Settings::matching_negate_char

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

Referenced by __history_write_element_list().

◆ menu_font

char* Settings::menu_font

Font string (pango format)

Definition at line 65 of file settings.h.

Referenced by wayland___create_window(), and xcb___create_window().

◆ modes

char* Settings::modes

List of enabled modes

Definition at line 63 of file settings.h.

Referenced by help_print_disabled_mode(), and setup_modes().

◆ monitor

char* Settings::monitor

◆ normalize_match

gboolean Settings::normalize_match

◆ on_entry_accepted

char* Settings::on_entry_accepted

Custom command to call when menu entry is accepted

Definition at line 78 of file settings.h.

Referenced by rofi_quit_user_callback().

◆ on_menu_canceled

char* Settings::on_menu_canceled

Custom command to call when menu is canceled

Definition at line 80 of file settings.h.

Referenced by rofi_quit_user_callback().

◆ on_menu_error

char* Settings::on_menu_error

Custom command to call when menu finds errors

Definition at line 82 of file settings.h.

Referenced by rofi_error_user_callback().

◆ on_mode_changed

char* Settings::on_mode_changed

Custom command to call when menu mode changes

Definition at line 76 of file settings.h.

Referenced by rofi_quit_user_callback().

◆ on_screenshot_taken

char* Settings::on_screenshot_taken

Custom command to call when menu screenshot is taken

Definition at line 84 of file settings.h.

Referenced by screenshot_taken_user_callback().

◆ on_selection_changed

char* Settings::on_selection_changed

Custom command to call when menu selection changes

Definition at line 74 of file settings.h.

Referenced by selection_changed_user_callback().

◆ parse_hosts

unsigned int Settings::parse_hosts

Hosts file parsing

Definition at line 158 of file settings.h.

Referenced by get_ssh().

◆ parse_known_hosts

unsigned int Settings::parse_known_hosts

Knonw_hosts file parsing

Definition at line 160 of file settings.h.

Referenced by get_ssh().

◆ plugin_path

char* Settings::plugin_path

Path where plugins can be found.

Definition at line 187 of file settings.h.

Referenced by rofi_collect_modes().

◆ preview_cmd

char* Settings::preview_cmd

Custom command to generate preview icons

Definition at line 71 of file settings.h.

Referenced by rofi_icon_fetcher_worker().

◆ refilter_timeout_limit

unsigned int Settings::refilter_timeout_limit

refilter timeout limit, when more then these entries,go into timeout mode.

Definition at line 218 of file settings.h.

Referenced by rofi_view_refilter().

◆ run_command

char* Settings::run_command

Command for executing an application

Definition at line 92 of file settings.h.

Referenced by execute_generator(), and helper_execute_command_env().

◆ run_list_command

char* Settings::run_list_command

Command for listing executables

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

Referenced by helper_execute_command_env().

◆ scroll_method

unsigned int Settings::scroll_method

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

Referenced by listview_create_row().

◆ sidebar_mode

unsigned int Settings::sidebar_mode

Sidebar mode, show the modes

Definition at line 150 of file settings.h.

Referenced by rofi_view_add_widget(), and startup().

◆ sort

unsigned int Settings::sort

Toggle to enable sorting.

Definition at line 122 of file settings.h.

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

◆ sorting_method

char* Settings::sorting_method

Sorting method.

Definition at line 126 of file settings.h.

Referenced by config_sanity_check().

◆ sorting_method_enum

SortingMethod Settings::sorting_method_enum

Sorting method.

Definition at line 124 of file settings.h.

Referenced by config_sanity_check(), filter_elements(), and rofi_view_refilter_real().

◆ ssh_client

char* Settings::ssh_client

SSH client to use

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

Referenced by execshssh().

◆ steal_focus

gboolean Settings::steal_focus

Steal focus

Definition at line 212 of file settings.h.

Referenced by xcb_display_set_input_focus().

◆ terminal_emulator

char* Settings::terminal_emulator

Terminal to use

Definition at line 86 of file settings.h.

Referenced by helper_parse_setup().

◆ theme

char* Settings::theme

Definition at line 185 of file settings.h.

Referenced by config_parse_dump_config_rasi_format(), and main().

◆ threads

unsigned int Settings::threads

Number threads (1 to disable)

Definition at line 173 of file settings.h.

Referenced by rofi_view_refilter_real(), and rofi_view_workers_initialize().

◆ tokenize

unsigned int Settings::tokenize

Definition at line 165 of file settings.h.

Referenced by helper_tokenize().

◆ touch_scroll_step

int Settings::touch_scroll_step

Touch travel in pixels per scroll step, 0 for one list element

Definition at line 180 of file settings.h.

Referenced by wayland_touch_scroll_step().

◆ wayland_layer

char* Settings::wayland_layer

Wayland layer

Definition at line 108 of file settings.h.

Referenced by wayland_display_late_setup().

◆ window_command

char* Settings::window_command

Command for window

Definition at line 98 of file settings.h.

◆ window_format

char* Settings::window_format

Definition at line 176 of file settings.h.

◆ window_match_fields

char* Settings::window_match_fields

Window fields to match in window mode

Definition at line 100 of file settings.h.

◆ window_thumbnail

gboolean Settings::window_thumbnail

Window Thumbnails

Definition at line 201 of file settings.h.

◆ x_offset

int Settings::x_offset

X offset

Definition at line 114 of file settings.h.

Referenced by xcb_rofi_view_calculate_window_position().

◆ xserver_i300_workaround

gboolean Settings::xserver_i300_workaround

workaround for broken xserver (#300 on xserver, #611)

Definition at line 221 of file settings.h.

Referenced by rofi_key_press_event_handler().

◆ y_offset

int Settings::y_offset

Y offset

Definition at line 112 of file settings.h.

Referenced by xcb_rofi_view_calculate_window_position().


The documentation for this struct was generated from the following file:
  • /builddir/build/BUILD/rofi-2.1.0-build/rofi-2.1.0/include/settings.h