diff options
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h index 9643c639..c3d7bca0 100644 --- a/src/config.h +++ b/src/config.h @@ -188,10 +188,14 @@ static KeyValue KEYS[] = { { "reload_bookmarks", { NULL, 0, 0 }, }, { "reload_quickmarks", { NULL, 0, 0 }, }, { "print_preview", { NULL, 0, 0 }, }, + { "set_as_default", { NULL, 0, 0 }, }, }; /* FUNCTION_MAP{{{*/ static FunctionMap FMAP [] = { + { { "set_as_default", "Set dwb as default application", }, CP_COMMANDLINE | CP_DONT_CLEAN, + (Func)commands_set_as_default, "Invalid arguments", ALWAYS_SM, + { .p = NULL }, EP_NONE, { NULL }, }, { { "tabdo", "Execute a command in all tabs", }, CP_COMMANDLINE | CP_NEEDS_ARG, (Func)commands_tabdo, "Missing command", ALWAYS_SM, { .p = NULL }, EP_NONE, { NULL }, }, |