From 133009b652e794bee083dbeb2fbdd2db787e84c6 Mon Sep 17 00:00:00 2001 From: Aaron Ouellette Date: Tue, 1 Mar 2016 10:23:45 -0500 Subject: [PATCH] add a manpage for swaylock --- swaylock/CMakeLists.txt | 2 ++ swaylock/swaylock.1.txt | 46 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 swaylock/swaylock.1.txt diff --git a/swaylock/CMakeLists.txt b/swaylock/CMakeLists.txt index ff76cdbc..08c893ca 100644 --- a/swaylock/CMakeLists.txt +++ b/swaylock/CMakeLists.txt @@ -42,3 +42,5 @@ install( DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/pam.d/ COMPONENT data ) + +add_manpage(swaylock 1) diff --git a/swaylock/swaylock.1.txt b/swaylock/swaylock.1.txt new file mode 100644 index 00000000..04594fd0 --- /dev/null +++ b/swaylock/swaylock.1.txt @@ -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* :: + Turn the screen into the given color instead of white. + +*-i, \--image* :: + 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 , who is assisted by other open +source contributors. For more information about sway development, see +. +