aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Ian Fan <ianfan0@gmail.com>2018-08-11 00:29:24 +0100
committerLibravatar Ian Fan <ianfan0@gmail.com>2018-08-18 15:50:26 +0100
commit453646b88798f4835a4c82cac103c801ddde4818 (patch)
tree0c556d3ecf94b7bd20090cddd8b5c50a273d412b
parentcommands: require set variable to start with $ (diff)
downloadsway-453646b88798f4835a4c82cac103c801ddde4818.tar.gz
sway-453646b88798f4835a4c82cac103c801ddde4818.tar.zst
sway-453646b88798f4835a4c82cac103c801ddde4818.zip
commands: fix documentation formatting mistakes for move command
-rw-r--r--sway/commands/move.c2
-rw-r--r--sway/sway.5.scd4
2 files changed, 3 insertions, 3 deletions
diff --git a/sway/commands/move.c b/sway/commands/move.c
index acdc50b5..f5eb9124 100644
--- a/sway/commands/move.c
+++ b/sway/commands/move.c
@@ -22,7 +22,7 @@
22static const char *expected_syntax = 22static const char *expected_syntax =
23 "Expected 'move <left|right|up|down> <[px] px>' or " 23 "Expected 'move <left|right|up|down> <[px] px>' or "
24 "'move [--no-auto-back-and-forth] <container|window> [to] workspace <name>' or " 24 "'move [--no-auto-back-and-forth] <container|window> [to] workspace <name>' or "
25 "'move [--no-auto-back-and-forth] <container|window|workspace> [to] output <name|direction>' or " 25 "'move <container|window|workspace> [to] output <name|direction>' or "
26 "'move <container|window> [to] mark <mark>'"; 26 "'move <container|window> [to] mark <mark>'";
27 27
28static struct sway_container *output_in_direction(const char *direction, 28static struct sway_container *output_in_direction(const char *direction,
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 34389e41..8e56d5bb 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -132,7 +132,7 @@ They are expected to be used with *bindsym* or at runtime through *swaymsg*(1).
132 If unspecified, the default is 10 pixels. Pixels are ignored when moving 132 If unspecified, the default is 10 pixels. Pixels are ignored when moving
133 tiled containers. 133 tiled containers.
134 134
135*move* [absolute] position <pos_x> [px] <pos_y> [px] 135*move* [absolute] position <pos\_x> [px] <pos\_y> [px]
136 Moves the focused container to the specified position. 136 Moves the focused container to the specified position.
137 137
138*move* [absolute] position center|mouse 138*move* [absolute] position center|mouse
@@ -154,7 +154,7 @@ They are expected to be used with *bindsym* or at runtime through *swaymsg*(1).
154 Moves the focused container to the previous or next workspace on this 154 Moves the focused container to the previous or next workspace on this
155 output, wrapping around if already at the first or last workspace. 155 output, wrapping around if already at the first or last workspace.
156 156
157*move* container|window [to] workspace back_and_forth 157*move* container|window [to] workspace back\_and\_forth
158 Moves the focused container to previously focused workspace. 158 Moves the focused container to previously focused workspace.
159 159
160*move* container|window|workspace [to] output <name> 160*move* container|window|workspace [to] output <name>