diff options
author | Phil Jones <philj56@gmail.com> | 2022-07-24 12:31:09 +0100 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2022-07-24 12:40:26 +0100 |
commit | 9e8af9d25106b615dabf956305f4ef80496ed412 (patch) | |
tree | 180ad86a9c1675777c83a9243db5129a01be9146 /src/config.c | |
parent | ee0ed3c506f8f45fce42cbabc1d9521382740924 (diff) |
Add drun mode.
This is a pretty simple implementation, but it should work for most
use cases. Notably, generic application names aren't used (though that
could be added without too much hassle), and neither are keywords (that
would be more difficult).
Diffstat (limited to 'src/config.c')
-rw-r--r-- | src/config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c index 713cc7e..a2e0f03 100644 --- a/src/config.c +++ b/src/config.c @@ -291,6 +291,8 @@ bool parse_option(struct tofi *tofi, const char *filename, size_t lineno, const tofi->hide_cursor = parse_bool(filename, lineno, value, &err); } else if (strcasecmp(option, "history") == 0) { tofi->use_history = parse_bool(filename, lineno, value, &err); + } else if (strcasecmp(option, "drun-launch") == 0) { + tofi->drun_launch = parse_bool(filename, lineno, value, &err); } 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) { |