sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 3b1c125e18a85f917b03d865d56ee3705b813c3b
parent fc7132a3baf86d447d4c72755f1f7eafa01bb2e1
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun, 29 May 2016 11:53:13 -0400

Remove bar position left:right from docs

And adds a warning about using them (currently these are not supported
by swaybar).

Diffstat:
Msway/commands.c | 2++
Msway/sway-bar.5.txt | 2+-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/sway/commands.c b/sway/commands.c @@ -2849,8 +2849,10 @@ static struct cmd_results *bar_cmd_position(int argc, char **argv) { } else if (strcasecmp("bottom", argv[0]) == 0) { config->current_bar->position = DESKTOP_SHELL_PANEL_POSITION_BOTTOM; } else if (strcasecmp("left", argv[0]) == 0) { + sway_log(L_INFO, "Warning: swaybar currently only supports top and bottom positioning. YMMV"); config->current_bar->position = DESKTOP_SHELL_PANEL_POSITION_LEFT; } else if (strcasecmp("right", argv[0]) == 0) { + sway_log(L_INFO, "Warning: swaybar currently only supports top and bottom positioning. YMMV"); config->current_bar->position = DESKTOP_SHELL_PANEL_POSITION_RIGHT; } else { error = cmd_results_new(CMD_INVALID, "position", "Invalid value %s", argv[0]); diff --git a/sway/sway-bar.5.txt b/sway/sway-bar.5.txt @@ -27,7 +27,7 @@ Commands **id** <bar_id>:: Sets the ID of the bar. -**position** <top|bottom|left|right>:: +**position** <top|bottom>:: Sets position of the bar. Default is _bottom_. **output** <output>::