summaryrefslogtreecommitdiffstats
path: root/include/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/settings.h')
-rw-r--r--include/settings.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/include/settings.h b/include/settings.h
index 66729597..cfd1aaf6 100644
--- a/include/settings.h
+++ b/include/settings.h
@@ -43,6 +43,12 @@ typedef enum
MM_FUZZY = 3
} MatchingMethod;
+typedef enum
+{
+ SORT_NORMAL = 0,
+ SORT_FZF = 1
+} SortingMethod;
+
/**
* Settings structure holding all (static) configurable options.
* @ingroup CONFIGURATION
@@ -104,10 +110,12 @@ typedef struct
unsigned int disable_history;
/** Toggle to enable sorting. */
unsigned int sort;
+ /** Sorting method. */
+ SortingMethod sorting_method_enum;
+ /** Sorting method. */
+ char * sorting_method;
/** Desktop entries to match in drun */
char * drun_match_fields;
- /** Use levenshtein sorting when matching */
- unsigned int levenshtein_sort;
/** Search case sensitivity */
unsigned int case_sensitive;
/** Cycle through in the element list */