shell: Move binding-modifier to shell section
diff --git a/src/shell.c b/src/shell.c
index 8078102..42c980c 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -252,13 +252,17 @@
int duration = 60;
char *modifier = NULL;
- struct config_key saver_keys[] = {
- { "path", CONFIG_KEY_STRING, &path },
- { "duration", CONFIG_KEY_INTEGER, &duration },
+ struct config_key shell_keys[] = {
{ "binding-modifier", CONFIG_KEY_STRING, &modifier },
};
+ struct config_key saver_keys[] = {
+ { "path", CONFIG_KEY_STRING, &path },
+ { "duration", CONFIG_KEY_INTEGER, &duration },
+ };
+
struct config_section cs[] = {
+ { "shell", shell_keys, ARRAY_LENGTH(shell_keys), NULL },
{ "screensaver", saver_keys, ARRAY_LENGTH(saver_keys), NULL },
};