diff options
Diffstat (limited to 'sway/commands/bar/icon_theme.c')
-rw-r--r-- | sway/commands/bar/icon_theme.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sway/commands/bar/icon_theme.c b/sway/commands/bar/icon_theme.c index 54b7b16e..6ac07843 100644 --- a/sway/commands/bar/icon_theme.c +++ b/sway/commands/bar/icon_theme.c | |||
@@ -12,10 +12,6 @@ struct cmd_results *bar_cmd_icon_theme(int argc, char **argv) { | |||
12 | return error; | 12 | return error; |
13 | } | 13 | } |
14 | 14 | ||
15 | if (!config->current_bar) { | ||
16 | return cmd_results_new(CMD_FAILURE, "No bar defined."); | ||
17 | } | ||
18 | |||
19 | sway_log(SWAY_DEBUG, "[Bar %s] Setting icon theme to %s", | 15 | sway_log(SWAY_DEBUG, "[Bar %s] Setting icon theme to %s", |
20 | config->current_bar->id, argv[0]); | 16 | config->current_bar->id, argv[0]); |
21 | free(config->current_bar->icon_theme); | 17 | free(config->current_bar->icon_theme); |