summaryrefslogtreecommitdiff
path: root/sway/commands/bar/icon_theme.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/bar/icon_theme.c')
-rw-r--r--sway/commands/bar/icon_theme.c4
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) {
return error;
}
- if (!config->current_bar) {
- return cmd_results_new(CMD_FAILURE, "No bar defined.");
- }
-
sway_log(SWAY_DEBUG, "[Bar %s] Setting icon theme to %s",
config->current_bar->id, argv[0]);
free(config->current_bar->icon_theme);