summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2016-03-18 17:15:19 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2016-03-18 17:15:19 -0400
commit7fb2a16275376c4e2183fa6b2cde5c6afc704103 (patch)
treed958fae88ea43df2e707830e5f6ca9bf6975a491
parentMerge pull request #519 from mikkeloscar/maintain-exec-quotes (diff)
parentMerge branch 'master' of git://github.com/SirCmpwn/sway into swaylock (diff)
downloadsway-7fb2a16275376c4e2183fa6b2cde5c6afc704103.tar.gz
sway-7fb2a16275376c4e2183fa6b2cde5c6afc704103.tar.zst
sway-7fb2a16275376c4e2183fa6b2cde5c6afc704103.zip
Merge pull request #520 from aouelete/swaylock
Add a manpage for swaylock
-rw-r--r--swaylock/CMakeLists.txt2
-rw-r--r--swaylock/swaylock.1.txt46
2 files changed, 48 insertions, 0 deletions
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(
42 DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/pam.d/ 42 DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/pam.d/
43 COMPONENT data 43 COMPONENT data
44) 44)
45
46add_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 @@
1/////
2vim:set ts=4 sw=4 tw=82 noet:
3/////
4:quotes.~:
5
6swaylock (1)
7============
8
9Name
10----
11swaylock - Screen locker for sway
12
13Synopsis
14--------
15'swaylock' [options]
16
17Lock the current sway session.
18
19Options
20-------
21
22*-h, --help*::
23 Show help message and quit.
24
25*-c, \--color* <rrggbb[aa]>::
26 Turn the screen into the given color instead of white.
27
28*-i, \--image* <path>::
29 Display the given image.
30
31*-s, \--scaling*::
32 Scaling mode for images: stretch, fill, fit, center, or tile.
33
34*-t, --tiling*::
35 Same as --scaling=tile.
36
37*-v, \--version*::
38 Show the version number and quit.
39
40Authors
41-------
42
43Maintained by Drew DeVault <sir@cmpwn.com>, who is assisted by other open
44source contributors. For more information about sway development, see
45<https://github.com/SirCmpwn/sway>.
46