From 996d3097cfa00363f16ff972b6da347b65ead23f Mon Sep 17 00:00:00 2001 From: Louie Shprung Date: Sat, 17 Aug 2024 14:50:07 -0400 Subject: Remove foldcase and hr options --- src/read_cfg.c | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'src/read_cfg.c') diff --git a/src/read_cfg.c b/src/read_cfg.c index f29fe88..3b8d24a 100644 --- a/src/read_cfg.c +++ b/src/read_cfg.c @@ -35,12 +35,6 @@ void stack_debug(lua_State *L); // TODO allow specifying whether to sort groups or entries (or both, or none) bool sort = true; -//set to true to automatically try to create a human readable name for an entry -bool hr = false; - -//turn foldCase (insensitive case searching) on or off; On by default -bool fold_case = true; - //return false if invalid path GROUP **cfg_interp(char *path, int *group_count){ FILE *fp; @@ -108,14 +102,6 @@ GROUP **cfg_interp(char *path, int *group_count){ return g; } -bool get_sort(){ - return sort; -} - -bool get_case_sensitivity(){ - return fold_case; -} - void refer_to_doc(){ printf("Refer to documentation on how to create terminal-media-launcher config file\n"); return; @@ -123,18 +109,14 @@ void refer_to_doc(){ void get_settings(lua_State *L, int table_stack_index) { bool *setting_vars[] = { - &hr, - &fold_case, &sort }; char *setting_strings[] = { - "autoAlias", - "foldCase", "sort" }; - int count = 3; + int count = 1; int i; // looking at table Settings -- cgit