summaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-08-03 13:47:15 +0100
committerPhil Jones <philj56@gmail.com>2022-08-03 13:47:15 +0100
commitc0d3df8af0328280836ccfef85ae7e40eb3b6b87 (patch)
treeb5e80a0dff429bc4dbe409e93d25ae8a023a13a3 /src/config.c
parent04731d5dd4172c94d7d33fb5fdc5dd2a74cfe754 (diff)
Make --drun-print-exec always be true.
The option is now deprecated, and a warning will be printed if it's used. It may be removed in a future version of tofi, so it should be removed from any configs now.
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index 8cb3763..47f964d 100644
--- a/src/config.c
+++ b/src/config.c
@@ -298,7 +298,8 @@ bool parse_option(struct tofi *tofi, const char *filename, size_t lineno, const
} else if (strcasecmp(option, "drun-launch") == 0) {
tofi->drun_launch = parse_bool(filename, lineno, value, &err);
} else if (strcasecmp(option, "drun-print-exec") == 0) {
- tofi->drun_print_exec = parse_bool(filename, lineno, value, &err);
+ 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, "hint-font") == 0) {
tofi->window.entry.harfbuzz.disable_hinting = !parse_bool(filename, lineno, value, &err);
} else if (strcasecmp(option, "late-keyboard-init") == 0) {