diff options
Diffstat (limited to 'sway/commands')
-rw-r--r-- | sway/commands/bar/mode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/commands/bar/mode.c b/sway/commands/bar/mode.c index 68a80abf..1081ad4b 100644 --- a/sway/commands/bar/mode.c +++ b/sway/commands/bar/mode.c | |||
@@ -20,6 +20,8 @@ static struct cmd_results *bar_set_mode(struct bar_config *bar, const char *mode | |||
20 | bar->mode = strdup("hide"); | 20 | bar->mode = strdup("hide"); |
21 | } else if (strcasecmp("invisible", mode) == 0) { | 21 | } else if (strcasecmp("invisible", mode) == 0) { |
22 | bar->mode = strdup("invisible"); | 22 | bar->mode = strdup("invisible"); |
23 | } else if (strcasecmp("overlay", mode) == 0) { | ||
24 | bar->mode = strdup("overlay"); | ||
23 | } else { | 25 | } else { |
24 | return cmd_results_new(CMD_INVALID, "Invalid value %s", mode); | 26 | return cmd_results_new(CMD_INVALID, "Invalid value %s", mode); |
25 | } | 27 | } |