Skip to content

Commit

Permalink
Fix syntax in examples in sway-output(5)
Browse files Browse the repository at this point in the history
Some examples use comma to separate x and y for setting the output
position which is wrong.

Let's change it to spaces, as correctly demonstrated in the
`output <name> position|pos <X> <Y>` section.
  • Loading branch information
ivyl authored and emersion committed Oct 2, 2019
1 parent edcd353 commit cf18bd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sway/sway-output.5.scd
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sway-output - output configuration commands for sway

You may combine output commands into one, like so:

output HDMI-A-1 mode 1920x1080 pos 1920,0 bg ~/wallpaper.png stretch
output HDMI-A-1 mode 1920x1080 pos 1920 0 bg ~/wallpaper.png stretch

You can get a list of output names with *swaymsg -t get_outputs*. You may also
match any output by using the output name "\*". Additionally, "-" can be used
Expand All @@ -20,7 +20,7 @@ identify these, the name can be substituted for a string consisting of the make,
model and serial which you can get from *swaymsg -t get_outputs*. Each value
must be separated by one space. For example:

output "Some Company ABC123 0x00000000" pos 1920,0
output "Some Company ABC123 0x00000000" pos 1920 0

# COMMANDS

Expand Down

0 comments on commit cf18bd8

Please sign in to comment.