Merge pull request #520 from aouelete/swaylock

Add a manpage for swaylock
This commit is contained in:
Drew DeVault 2016-03-18 17:15:19 -04:00
commit 7fb2a16275
2 changed files with 48 additions and 0 deletions

View File

@ -42,3 +42,5 @@ install(
DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/pam.d/
COMPONENT data
)
add_manpage(swaylock 1)

46
swaylock/swaylock.1.txt Normal file
View File

@ -0,0 +1,46 @@
/////
vim:set ts=4 sw=4 tw=82 noet:
/////
:quotes.~:
swaylock (1)
============
Name
----
swaylock - Screen locker for sway
Synopsis
--------
'swaylock' [options]
Lock the current sway session.
Options
-------
*-h, --help*::
Show help message and quit.
*-c, \--color* <rrggbb[aa]>::
Turn the screen into the given color instead of white.
*-i, \--image* <path>::
Display the given image.
*-s, \--scaling*::
Scaling mode for images: stretch, fill, fit, center, or tile.
*-t, --tiling*::
Same as --scaling=tile.
*-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 sway development, see
<https://github.com/SirCmpwn/sway>.