diff options
author | Rouven Czerwinski <rouven@czerwinskis.de> | 2018-10-19 19:11:21 +0200 |
---|---|---|
committer | Rouven Czerwinski <rouven@czerwinskis.de> | 2018-10-20 08:21:44 +0200 |
commit | 17fb3b6994a65a7286cd21f3c25294ce5c8cceed (patch) | |
tree | 30b1fa16b483f43a56ce3e0ac9c4d90703b19fbb /sway/commands | |
parent | f52825336ca32c7244ce08313d8a38afe5430aa5 (diff) |
commands/bar: remove left and right from allowed positions
"left" and "right" are not allowed positions for swaybar, remove them.
Diffstat (limited to 'sway/commands')
-rw-r--r-- | sway/commands/bar/position.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/bar/position.c b/sway/commands/bar/position.c index 44bb4ae3..2870f60f 100644 --- a/sway/commands/bar/position.c +++ b/sway/commands/bar/position.c @@ -12,7 +12,7 @@ struct cmd_results *bar_cmd_position(int argc, char **argv) { if (!config->current_bar) { return cmd_results_new(CMD_FAILURE, "position", "No bar defined."); } - char *valid[] = { "top", "bottom", "left", "right" }; + char *valid[] = { "top", "bottom" }; for (size_t i = 0; i < sizeof(valid) / sizeof(valid[0]); ++i) { if (strcasecmp(valid[i], argv[0]) == 0) { wlr_log(WLR_DEBUG, "Setting bar position '%s' for bar: %s", |