diff options
author | Aaron Ouellette <aouellette2016@gmail.com> | 2016-03-01 10:23:45 -0500 |
---|---|---|
committer | Aaron Ouellette <aouellette2016@gmail.com> | 2016-03-01 10:23:45 -0500 |
commit | 133009b652e794bee083dbeb2fbdd2db787e84c6 (patch) | |
tree | 2a38d8de9d2c735a49a2715d5100e2ec57f8b23e /swaylock | |
parent | Merge pull request #495 from gpyh/docswaybar (diff) | |
download | sway-133009b652e794bee083dbeb2fbdd2db787e84c6.tar.gz sway-133009b652e794bee083dbeb2fbdd2db787e84c6.tar.zst sway-133009b652e794bee083dbeb2fbdd2db787e84c6.zip |
add a manpage for swaylock
Diffstat (limited to 'swaylock')
-rw-r--r-- | swaylock/CMakeLists.txt | 2 | ||||
-rw-r--r-- | swaylock/swaylock.1.txt | 46 |
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 | |||
46 | 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 @@ | |||
1 | ///// | ||
2 | vim:set ts=4 sw=4 tw=82 noet: | ||
3 | ///// | ||
4 | :quotes.~: | ||
5 | |||
6 | swaylock (1) | ||
7 | ============ | ||
8 | |||
9 | Name | ||
10 | ---- | ||
11 | swaylock - Screen locker for sway | ||
12 | |||
13 | Synopsis | ||
14 | -------- | ||
15 | 'swaylock' [options] | ||
16 | |||
17 | Lock the current sway session. | ||
18 | |||
19 | Options | ||
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 | |||
40 | Authors | ||
41 | ------- | ||
42 | |||
43 | Maintained by Drew DeVault <sir@cmpwn.com>, who is assisted by other open | ||
44 | source contributors. For more information about sway development, see | ||
45 | <https://github.com/SirCmpwn/sway>. | ||
46 | |||