mirror of
https://github.com/swaywm/sway.git
synced 2024-11-01 05:57:17 +00:00
Merge pull request #1244 from her001/swaylock-man-corrections
Correct swaylock man page description of -i and -c
This commit is contained in:
parent
4e663ab44f
commit
3f2023ea65
|
@ -7,7 +7,7 @@ _arguments -s \
|
||||||
'(-v --version)'{-v,--version}'[Show the version number and quit]' \
|
'(-v --version)'{-v,--version}'[Show the version number and quit]' \
|
||||||
'(-h --help)'{-h,--help}'[Show help message and quit]' \
|
'(-h --help)'{-h,--help}'[Show help message and quit]' \
|
||||||
'(-f --daemonize)'{-f, --daemonize}'[Detach from the controlling terminal]\
|
'(-f --daemonize)'{-f, --daemonize}'[Detach from the controlling terminal]\
|
||||||
'(-c --color)'{-c,--color}'[Specify a color (rrggbb) instead of white]' \
|
'(-c --color)'{-c,--color}'[Specify a color (rrggbb)]' \
|
||||||
'(-i --image)'{-i,--image}'[Display an image]:files:_files' \
|
'(-i --image)'{-i,--image}'[Display an image]:files:_files' \
|
||||||
'(-s --scaling)'{-s,--scaling}'[Scaling mode]:mode:(stretch fill fit center tile)' \
|
'(-s --scaling)'{-s,--scaling}'[Scaling mode]:mode:(stretch fill fit center tile)' \
|
||||||
'(-u --no-unlock-indicator)'{-u,--no-unlock-indicator}'[Disable the unlock indicator]'
|
'(-u --no-unlock-indicator)'{-u,--no-unlock-indicator}'[Disable the unlock indicator]'
|
||||||
|
|
|
@ -23,12 +23,13 @@ Options
|
||||||
Show help message and quit.
|
Show help message and quit.
|
||||||
|
|
||||||
*-c, \--color* <rrggbb[aa]>::
|
*-c, \--color* <rrggbb[aa]>::
|
||||||
Turn the screen into the given color instead of white. If an image is in use,
|
Turn the screen into the given color. If -i is used, this sets the
|
||||||
also enables color display. This option and -i are mutually exclusive.
|
background of the image to the given color. Defaults to white (ffffff), or
|
||||||
|
transparent (00000000) if an image is in use.
|
||||||
|
|
||||||
*-i, \--image* [<output>:]<path>::
|
*-i, \--image* [<output>:]<path>::
|
||||||
Display the given image, optionally only on the given output. This option
|
Display the given image, optionally only on the given output. Use -c to set
|
||||||
and -c are mutually exclusive.
|
a background color.
|
||||||
|
|
||||||
*--scaling*::
|
*--scaling*::
|
||||||
Scaling mode for images: stretch, fill, fit, center, or tile.
|
Scaling mode for images: stretch, fill, fit, center, or tile.
|
||||||
|
|
Loading…
Reference in a new issue