2018-05-11 20:39:47 -05:00
|
|
|
swaylock(1)
|
|
|
|
|
|
|
|
# NAME
|
|
|
|
|
|
|
|
swaylock - Screen locker for Wayland
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
|
|
|
_swaylock_ [options...]
|
|
|
|
|
|
|
|
Locks your Wayland session.
|
|
|
|
|
|
|
|
# OPTIONS
|
|
|
|
|
2018-07-13 12:18:59 -05:00
|
|
|
*-C, --config* <path>
|
|
|
|
The config file to use. By default, the following paths are checked:
|
|
|
|
_$HOME/.swaylock/config_, _$XDG\_CONFIG\_HOME/swaylock/config_, and
|
|
|
|
_SYSCONFDIR/swaylock/config_. All flags aside from this one are valid
|
|
|
|
options in the configuration file using the format _long-option=value_.
|
|
|
|
For options such as _ignore-empty-password_, just supply the _long-option_.
|
|
|
|
All leading dashes should be omitted and the equals sign is required for
|
|
|
|
flags that take an argument.
|
|
|
|
|
2019-01-14 22:30:54 -06:00
|
|
|
*-d, --debug*
|
|
|
|
Enable debugging output.
|
|
|
|
|
2018-07-10 20:29:15 -05:00
|
|
|
*-e, --ignore-empty-password*
|
2019-09-12 10:15:18 -05:00
|
|
|
When an empty password is provided, do not validate it.
|
2018-07-10 20:29:15 -05:00
|
|
|
|
2019-02-05 09:12:54 -06:00
|
|
|
*-F, --show-failed-attempts*
|
2019-09-12 10:15:18 -05:00
|
|
|
Show current count of failed authentication attempts.
|
2019-02-05 09:12:54 -06:00
|
|
|
|
2018-05-11 20:39:47 -05:00
|
|
|
*-f, --daemonize*
|
2018-07-10 20:29:15 -05:00
|
|
|
Detach from the controlling terminal after locking.
|
|
|
|
|
2018-12-02 13:43:34 -06:00
|
|
|
Note: this is the default behavior of i3lock.
|
2018-10-27 08:25:10 -05:00
|
|
|
|
2018-07-10 20:29:15 -05:00
|
|
|
*-h, --help*
|
|
|
|
Show help message and quit.
|
2018-05-11 20:39:47 -05:00
|
|
|
|
2018-10-27 08:25:10 -05:00
|
|
|
*-v, --version*
|
|
|
|
Show the version number and quit.
|
|
|
|
|
|
|
|
# APPEARANCE
|
|
|
|
|
|
|
|
*-u, --no-unlock-indicator*
|
|
|
|
Disable the unlock indicator.
|
|
|
|
|
2019-01-16 23:34:24 -06:00
|
|
|
*-i, --image* [[<output>]:]<path>
|
2018-05-11 20:39:47 -05:00
|
|
|
Display the given image, optionally only on the given output. Use -c to set
|
2019-01-16 23:34:24 -06:00
|
|
|
a background color. If the path potentially contains a ':', prefix it with another
|
|
|
|
':' to prevent interpreting part of it as <output>.
|
2018-05-11 20:39:47 -05:00
|
|
|
|
2019-02-05 09:12:54 -06:00
|
|
|
*-k, --show-keyboard-layout*
|
2019-09-12 10:15:18 -05:00
|
|
|
Display the current xkb layout while typing.
|
2019-02-05 09:12:54 -06:00
|
|
|
|
2019-04-22 13:36:37 -05:00
|
|
|
*-K, --hide-keyboard-layout*
|
|
|
|
Force hiding the current xkb layout while typing, even if more than one layout
|
|
|
|
is configured or the show-keyboard-layout option is set.
|
|
|
|
|
2019-01-14 09:51:04 -06:00
|
|
|
*-L, --disable-caps-lock-text*
|
2019-09-12 10:15:18 -05:00
|
|
|
Disable the Caps Lock text.
|
2019-01-14 09:51:04 -06:00
|
|
|
|
|
|
|
*-l, --indicator-caps-lock*
|
|
|
|
Show the current Caps Lock state also on the indicator.
|
|
|
|
|
2018-07-10 20:29:15 -05:00
|
|
|
*-s, --scaling*
|
2019-09-12 10:15:18 -05:00
|
|
|
Image scaling mode: _stretch_, _fill_, _fit_, _center_, _tile_,
|
|
|
|
_solid\_color_. Use _solid\_color_ to display only the background color, even
|
2019-01-22 14:00:01 -06:00
|
|
|
if a background image is specified.
|
2018-05-11 20:39:47 -05:00
|
|
|
|
|
|
|
*-t, --tiling*
|
|
|
|
Same as --scaling=tile.
|
|
|
|
|
2018-10-27 08:25:10 -05:00
|
|
|
*-c, --color* <rrggbb[aa]>
|
2019-09-12 10:15:18 -05:00
|
|
|
Turn the screen into the given color instead of white. If -i is used, this
|
|
|
|
sets the background of the image to the given color. Defaults to white
|
|
|
|
(FFFFFF).
|
2018-05-11 20:39:47 -05:00
|
|
|
|
2018-07-10 20:29:15 -05:00
|
|
|
*--bs-hl-color* <rrggbb[aa]>
|
2018-05-11 20:39:47 -05:00
|
|
|
Sets the color of backspace highlight segments.
|
|
|
|
|
2019-01-14 09:51:04 -06:00
|
|
|
*--caps-lock-bs-hl-color* <rrggbb[aa]>
|
|
|
|
Sets the color of backspace highlight segments when Caps Lock is active.
|
|
|
|
|
2019-02-12 05:21:47 -06:00
|
|
|
*--caps-lock-key-hl-color* <rrggbb[aa]>
|
2019-01-14 09:51:04 -06:00
|
|
|
Sets the color of the key press highlight segments when Caps Lock is active.
|
|
|
|
|
2018-05-11 20:39:47 -05:00
|
|
|
*--font* <font>
|
2019-09-12 10:15:18 -05:00
|
|
|
Sets the font of the text.
|
|
|
|
|
|
|
|
*--font-size* <size>
|
|
|
|
Sets a fixed font size for the indicator text.
|
2018-05-11 20:39:47 -05:00
|
|
|
|
2019-08-03 20:07:50 -05:00
|
|
|
*--indicator-idle-visible*
|
|
|
|
Sets the indicator to show even if idle.
|
|
|
|
|
2018-07-10 20:29:15 -05:00
|
|
|
*--indicator-radius* <radius>
|
2019-09-12 10:15:18 -05:00
|
|
|
Sets the indicator radius. The default value is 50.
|
2018-07-10 20:29:15 -05:00
|
|
|
|
|
|
|
*--indicator-thickness* <thickness>
|
2019-09-12 10:15:18 -05:00
|
|
|
Sets the indicator thickness. The default value is 10.
|
2018-07-10 20:29:15 -05:00
|
|
|
|
|
|
|
*--inside-color* <rrggbb[aa]>
|
2019-09-12 10:15:18 -05:00
|
|
|
Sets the color of the inside of the indicator.
|
2018-05-11 20:39:47 -05:00
|
|
|
|
2018-07-10 20:29:15 -05:00
|
|
|
*--inside-clear-color* <rrggbb[aa]>
|
|
|
|
Sets the color of the inside of the indicator when cleared.
|
|
|
|
|
2019-01-14 09:51:04 -06:00
|
|
|
*--inside-caps-lock-color* <rrggbb[aa]>
|
|
|
|
Sets the color of the inside of the indicator when Caps Lock is active.
|
|
|
|
|
2018-07-10 20:29:15 -05:00
|
|
|
*--inside-ver-color* <rrggbb[aa]>
|
2018-05-11 20:39:47 -05:00
|
|
|
Sets the color of the inside of the indicator when verifying.
|
|
|
|
|
2018-07-10 20:29:15 -05:00
|
|
|
*--inside-wrong-color* <rrggbb[aa]>
|
2018-05-11 20:39:47 -05:00
|
|
|
Sets the color of the inside of the indicator when invalid.
|
|
|
|
|
2018-07-10 20:29:15 -05:00
|
|
|
*--key-hl-color* <rrggbb[aa]>
|
2019-09-12 10:15:18 -05:00
|
|
|
Sets the color of the key press highlight segments.
|
2018-07-10 20:29:15 -05:00
|
|
|
|
2019-02-05 09:12:54 -06:00
|
|
|
*--layout-bg-color* <rrggbb[aa]>
|
|
|
|
Sets the background color of the box containing the layout text.
|
|
|
|
|
|
|
|
*--layout-border-color* <rrggbb[aa]>
|
|
|
|
Sets the color of the border of the box containing the layout text.
|
|
|
|
|
|
|
|
*--layout-text-color* <rrggbb[aa]>
|
|
|
|
Sets the color of the layout text.
|
|
|
|
|
2018-07-10 20:29:15 -05:00
|
|
|
*--line-color* <rrggbb[aa]>
|
2019-09-12 10:15:18 -05:00
|
|
|
Sets the color of the line between the inside and ring.
|
2018-07-10 20:29:15 -05:00
|
|
|
|
|
|
|
*--line-clear-color* <rrggbb[aa]>
|
2019-09-12 10:15:18 -05:00
|
|
|
Sets the color of the line between the inside and ring when cleared.
|
2018-07-10 20:29:15 -05:00
|
|
|
|
2019-01-14 09:51:04 -06:00
|
|
|
*--line-caps-lock-color* <rrggbb[aa]>
|
2019-09-12 10:15:18 -05:00
|
|
|
Sets the color of the line between the inside and ring when Caps Lock is
|
|
|
|
active.
|
2019-01-14 09:51:04 -06:00
|
|
|
|
2018-07-10 20:29:15 -05:00
|
|
|
*--line-ver-color* <rrggbb[aa]>
|
2019-09-12 10:15:18 -05:00
|
|
|
Sets the color of the line between the inside and ring when verifying.
|
2018-05-11 20:39:47 -05:00
|
|
|
|
2018-07-10 20:29:15 -05:00
|
|
|
*--line-wrong-color* <rrggbb[aa]>
|
2019-09-12 10:15:18 -05:00
|
|
|
Sets the color of the line between the inside and ring when invalid.
|
2018-05-11 20:39:47 -05:00
|
|
|
|
2018-07-10 20:29:15 -05:00
|
|
|
*-n, --line-uses-inside*
|
2019-09-12 10:15:18 -05:00
|
|
|
Use the inside color for the line between the inside and ring.
|
2018-05-11 20:39:47 -05:00
|
|
|
|
|
|
|
*-r, --line-uses-ring*
|
2019-09-12 10:15:18 -05:00
|
|
|
Use the ring color for the line between the inside and ring.
|
2018-05-11 20:39:47 -05:00
|
|
|
|
2018-07-10 20:29:15 -05:00
|
|
|
*--ring-color* <rrggbb[aa]>
|
2019-09-12 10:15:18 -05:00
|
|
|
Sets the color of the ring of the indicator when typing or idle.
|
2018-05-11 20:39:47 -05:00
|
|
|
|
2018-07-10 20:29:15 -05:00
|
|
|
*--ring-clear-color* <rrggbb[aa]>
|
2019-09-12 10:15:18 -05:00
|
|
|
Sets the color of the ring of the indicator when cleared.
|
2018-07-10 20:29:15 -05:00
|
|
|
|
2019-01-14 09:51:04 -06:00
|
|
|
*--ring-caps-lock-color* <rrggbb[aa]>
|
|
|
|
Sets the color of the ring of the indicator when Caps Lock is active.
|
|
|
|
|
2018-07-10 20:29:15 -05:00
|
|
|
*--ring-ver-color* <rrggbb[aa]>
|
2019-09-12 10:15:18 -05:00
|
|
|
Sets the color of the ring of the indicator when verifying.
|
2018-05-11 20:39:47 -05:00
|
|
|
|
2018-07-10 20:29:15 -05:00
|
|
|
*--ring-wrong-color* <rrggbb[aa]>
|
2019-09-12 10:15:18 -05:00
|
|
|
Sets the color of the ring of the indicator when invalid.
|
2018-05-11 20:39:47 -05:00
|
|
|
|
2018-07-10 20:29:15 -05:00
|
|
|
*--separator-color* <rrggbb[aa]>
|
|
|
|
Sets the color of the lines that separate highlight segments.
|
2018-05-11 20:39:47 -05:00
|
|
|
|
2018-07-10 20:29:15 -05:00
|
|
|
*--text-color* <rrggbb[aa]>
|
2019-09-12 10:15:18 -05:00
|
|
|
Sets the color of the text.
|
2018-05-11 20:39:47 -05:00
|
|
|
|
2018-07-10 20:29:15 -05:00
|
|
|
*--text-clear-color* <rrggbb[aa]>
|
2019-09-12 10:15:18 -05:00
|
|
|
Sets the color of the text when cleared.
|
2018-05-11 20:39:47 -05:00
|
|
|
|
2019-01-14 09:51:04 -06:00
|
|
|
*--text-caps-lock-color* <rrggbb[aa]>
|
|
|
|
Sets the color of the text when Caps Lock is active.
|
|
|
|
|
2018-07-10 20:29:15 -05:00
|
|
|
*--text-ver-color* <rrggbb[aa]>
|
2019-09-12 10:15:18 -05:00
|
|
|
Sets the color of the text when verifying.
|
2018-07-10 20:29:15 -05:00
|
|
|
|
|
|
|
*--text-wrong-color* <rrggbb[aa]>
|
2019-09-12 10:15:18 -05:00
|
|
|
Sets the color of the text when invalid.
|
2018-05-11 20:39:47 -05:00
|
|
|
|
|
|
|
# AUTHORS
|
|
|
|
|
|
|
|
Maintained by Drew DeVault <sir@cmpwn.com>, who is assisted by other open
|
2019-01-17 10:17:36 -06:00
|
|
|
source contributors. For more information about swaylock development, see
|
|
|
|
https://github.com/swaywm/swaylock.
|