diff options
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c index 409afce9..62852980 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -2849,8 +2849,10 @@ static struct cmd_results *bar_cmd_position(int argc, char **argv) { | |||
2849 | } else if (strcasecmp("bottom", argv[0]) == 0) { | 2849 | } else if (strcasecmp("bottom", argv[0]) == 0) { |
2850 | config->current_bar->position = DESKTOP_SHELL_PANEL_POSITION_BOTTOM; | 2850 | config->current_bar->position = DESKTOP_SHELL_PANEL_POSITION_BOTTOM; |
2851 | } else if (strcasecmp("left", argv[0]) == 0) { | 2851 | } else if (strcasecmp("left", argv[0]) == 0) { |
2852 | sway_log(L_INFO, "Warning: swaybar currently only supports top and bottom positioning. YMMV"); | ||
2852 | config->current_bar->position = DESKTOP_SHELL_PANEL_POSITION_LEFT; | 2853 | config->current_bar->position = DESKTOP_SHELL_PANEL_POSITION_LEFT; |
2853 | } else if (strcasecmp("right", argv[0]) == 0) { | 2854 | } else if (strcasecmp("right", argv[0]) == 0) { |
2855 | sway_log(L_INFO, "Warning: swaybar currently only supports top and bottom positioning. YMMV"); | ||
2854 | config->current_bar->position = DESKTOP_SHELL_PANEL_POSITION_RIGHT; | 2856 | config->current_bar->position = DESKTOP_SHELL_PANEL_POSITION_RIGHT; |
2855 | } else { | 2857 | } else { |
2856 | error = cmd_results_new(CMD_INVALID, "position", "Invalid value %s", argv[0]); | 2858 | error = cmd_results_new(CMD_INVALID, "position", "Invalid value %s", argv[0]); |