diff options
Diffstat (limited to 'sway/commands/bar/modifier.c')
-rw-r--r-- | sway/commands/bar/modifier.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sway/commands/bar/modifier.c b/sway/commands/bar/modifier.c index d25d01d4..983d2179 100644 --- a/sway/commands/bar/modifier.c +++ b/sway/commands/bar/modifier.c | |||
@@ -10,10 +10,6 @@ struct cmd_results *bar_cmd_modifier(int argc, char **argv) { | |||
10 | return error; | 10 | return error; |
11 | } | 11 | } |
12 | 12 | ||
13 | if (!config->current_bar) { | ||
14 | return cmd_results_new(CMD_FAILURE, "No bar defined."); | ||
15 | } | ||
16 | |||
17 | uint32_t mod = 0; | 13 | uint32_t mod = 0; |
18 | if (strcmp(argv[0], "none") != 0) { | 14 | if (strcmp(argv[0], "none") != 0) { |
19 | list_t *split = split_string(argv[0], "+"); | 15 | list_t *split = split_string(argv[0], "+"); |