rofi 2.0.0
settings.h File Reference
#include <glib.h>
Include dependency graph for settings.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Settings

Macros

#define DEFAULT_MENU_LINES   15
#define DEFAULT_MENU_COLUMNS   1
#define DEFAULT_MENU_WIDTH   50.0f

Enumerations

enum  MatchingMethod {
  MM_NORMAL = 0 , MM_REGEX = 1 , MM_GLOB = 2 , MM_FUZZY = 3 ,
  MM_PREFIX = 4 , MM_NUM_MATCHERS = 5
}
enum  SortingMethod { SORT_NORMAL = 0 , SORT_FZF = 1 }
enum  DisplayBackend { DISPLAY_XCB , DISPLAY_WAYLAND }

Variables

Settings config

Macro Definition Documentation

◆ DEFAULT_MENU_COLUMNS

#define DEFAULT_MENU_COLUMNS   1

Default number of columns in the list view

Definition at line 227 of file settings.h.

Referenced by listview_create().

◆ DEFAULT_MENU_LINES

#define DEFAULT_MENU_LINES   15

Default number of lines in the list view

Definition at line 225 of file settings.h.

Referenced by dmenu_mode_init(), and listview_create().

◆ DEFAULT_MENU_WIDTH

#define DEFAULT_MENU_WIDTH   50.0f

Default window width

Definition at line 229 of file settings.h.

Referenced by wayland_rofi_view_calculate_window_width(), and xcb_rofi_view_calculate_window_width().

Enumeration Type Documentation

◆ DisplayBackend

Enumerator
DISPLAY_XCB 
DISPLAY_WAYLAND 

Definition at line 52 of file settings.h.

◆ SortingMethod

Possible sorting methods for listview.

Enumerator
SORT_NORMAL 
SORT_FZF 

Definition at line 50 of file settings.h.

Variable Documentation

◆ config

Settings config
extern

Global Settings structure.

Referenced by __history_write_element_list(), bench_update(), combi_mgrv(), combi_mode_parse_switchers(), config_parse_dump_config_rasi_format(), config_sanity_check(), create_regex(), dmenu_mode_dialog(), dmenu_mode_init(), execshssh(), execute_generator(), filter_elements(), get_apps(), get_apps_external(), get_matching_state(), get_pixels(), get_ssh(), help(), help_print_disabled_mode(), helper_execute_command(), helper_get_matching_mode_str(), helper_parse_setup(), helper_select_next_matching_mode(), helper_select_previous_matching_mode(), helper_token_match(), helper_token_match_get_pango_attr(), helper_tokenize(), history_get_list(), history_remove(), history_set(), listview_create(), listview_create_row(), main(), main_loop_x11_event_handler(), main_loop_x11_event_handler_view(), parse_case_sensitivity(), print_backend_info(), R(), rofi_collect_modes(), rofi_error_user_callback(), rofi_get_completer(), rofi_get_location(), rofi_icon_fetcher_init(), rofi_icon_fetcher_worker(), rofi_key_press_event_handler(), rofi_quit_user_callback(), rofi_view_add_widget(), rofi_view_create(), rofi_view_error_dialog(), rofi_view_refilter(), rofi_view_refilter_real(), rofi_view_set_selected_line(), rofi_view_trigger_global_action(), rofi_view_workers_initialize(), run_mode_index(), screenshot_taken_user_callback(), selection_changed_user_callback(), setup_modes(), startup(), wayland___create_window(), wayland_display_late_setup(), wayland_get_dpi_estimation(), wayland_pointer_send_events(), wayland_surface_protocol_enter(), xcb___create_window(), xcb_display_cleanup(), xcb_display_monitor_active(), xcb_display_set_input_focus(), xcb_display_setup(), xcb_rofi_view_calculate_window_position(), xcb_rofi_view_ping_mouse(), and xcb_rofi_view_update().