From fdcda651241ace04d895b9efa77d261029e0da68 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Sat, 22 Oct 2022 21:55:58 +0100 Subject: Add --terminal option. --- src/config.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/config.c') diff --git a/src/config.c b/src/config.c index 915e548..4305c3e 100644 --- a/src/config.c +++ b/src/config.c @@ -431,6 +431,8 @@ bool parse_option(struct tofi *tofi, const char *filename, size_t lineno, const } else if (strcasecmp(option, "drun-print-exec") == 0) { log_warning("drun-print-exec is deprecated, as it is now always true.\n" " This option may be removed in a future version of tofi.\n"); + } else if (strcasecmp(option, "terminal") == 0) { + snprintf(tofi->default_terminal, N_ELEM(tofi->default_terminal), "%s", value); } else if (strcasecmp(option, "hint-font") == 0) { tofi->window.entry.harfbuzz.disable_hinting = !parse_bool(filename, lineno, value, &err); } else if (strcasecmp(option, "late-keyboard-init") == 0) { -- cgit v1.2.3