swaybg: add manpage

This commit is contained in:
Simon Ser 2019-04-13 11:41:40 +03:00 committed by Brian Ashworth
parent 27f51360b7
commit e7d6b8ec3e
2 changed files with 45 additions and 0 deletions

View File

@ -107,6 +107,7 @@ if scdoc.found()
'sway/sway-input.5.scd',
'sway/sway-ipc.7.scd',
'sway/sway-output.5.scd',
'swaybg/swaybg.1.scd',
'swaymsg/swaymsg.1.scd',
'swaynag/swaynag.1.scd',
'swaynag/swaynag.5.scd',

44
swaybg/swaybg.1.scd Normal file
View File

@ -0,0 +1,44 @@
swaybg(1)
# NAME
swaybg - Background for Wayland
# SYNOPSIS
*swaybg* [options...]
Displays a background image on all outputs of your Wayland session.
Without an output specified, appearance options apply to all outputs.
Per-output appearance options can be set by passing _-o, --output_ followed by
these options.
# OPTIONS
*-c, --color* <rrggbb[aa]>
Set the background color.
*-h, --help*
Show help message and quit.
*-i, --image* <path>
Set the background image.
*-m, --mode* <mode>
Scaling mode for images: _stretch_, _fill_, _fit_, _center_, or _tile_. Use
the additional mode _solid\_color_ to display only the background color,
even if a background image is specified.
*-o, --output* <name>
Select an output to configure. Subsequent appearance options will only
apply to this output. The special value _\*_ selects all outputs.
*-v, --version*
Show the version number and quit.
# AUTHORS
Maintained by Drew DeVault <sir@cmpwn.com>, who is assisted by other open
source contributors. For more information about swaybg development, see
https://github.com/swaywm/sway.