rofi 1.7.9
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 }

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 216 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 214 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 218 of file settings.h.

Referenced by rofi_view_calculate_window_width().

Enumeration Type Documentation

◆ 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