2018-05-12 01:39:47 +00:00
|
|
|
swaylock(1)
|
|
|
|
|
|
|
|
# NAME
|
|
|
|
|
|
|
|
swaylock - Screen locker for Wayland
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
|
|
|
_swaylock_ [options...]
|
|
|
|
|
|
|
|
Locks your Wayland session.
|
|
|
|
|
|
|
|
# OPTIONS
|
|
|
|
|
2018-07-13 17:18:59 +00: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.
|
|
|
|
|
2018-07-11 01:29:15 +00:00
|
|
|
*-e, --ignore-empty-password*
|
|
|
|
When an empty password is provided by the user, do not validate it.
|
|
|
|
|
2018-05-12 01:39:47 +00:00
|
|
|
*-f, --daemonize*
|
2018-07-11 01:29:15 +00:00
|
|
|
Detach from the controlling terminal after locking.
|
|
|
|
|
2018-10-27 13:25:10 +00:00
|
|
|
Note: this is the default bahavior of i3lock.
|
|
|
|
|
2018-07-11 01:29:15 +00:00
|
|
|
*-h, --help*
|
|
|
|
Show help message and quit.
|
2018-05-12 01:39:47 +00:00
|
|
|
|
2018-10-27 13:25:10 +00:00
|
|
|
*-v, --version*
|
|
|
|
Show the version number and quit.
|
|
|
|
|
|
|
|
# APPEARANCE
|
|
|
|
|
|
|
|
*-u, --no-unlock-indicator*
|
|
|
|
Disable the unlock indicator.
|
|
|
|
|
2018-05-12 01:39:47 +00:00
|
|
|
*-i, --image* [<output>:]<path>
|
|
|
|
Display the given image, optionally only on the given output. Use -c to set
|
|
|
|
a background color.
|
|
|
|
|
2018-07-11 01:29:15 +00:00
|
|
|
*-s, --scaling*
|
2018-05-12 01:39:47 +00:00
|
|
|
Scaling mode for images: _stretch_, _fill_, _fit_, _center_, or _tile_.
|
|
|
|
|
|
|
|
*-t, --tiling*
|
|
|
|
Same as --scaling=tile.
|
|
|
|
|
2018-10-27 13:25:10 +00:00
|
|
|
*-c, --color* <rrggbb[aa]>
|
|
|
|
Turn the screen into the given color. If -i is used, this sets the
|
|
|
|
background of the image to the given color. Defaults to white (FFFFFF), or
|
|
|
|
transparent (00000000) if an image is in use.
|
2018-05-12 01:39:47 +00:00
|
|
|
|
2018-07-11 01:29:15 +00:00
|
|
|
*--bs-hl-color* <rrggbb[aa]>
|
2018-05-12 01:39:47 +00:00
|
|
|
Sets the color of backspace highlight segments.
|
|
|
|
|
|
|
|
*--font* <font>
|
|
|
|
Sets the font of the text inside the indicator.
|
|
|
|
|
2018-07-11 01:29:15 +00:00
|
|
|
*--indicator-radius* <radius>
|
|
|
|
Sets the radius of the indicator to _radius_ pixels. The default value is
|
|
|
|
50.
|
|
|
|
|
|
|
|
*--indicator-thickness* <thickness>
|
|
|
|
Sets the thickness of the indicator to _thickness_ pixels. The default value
|
|
|
|
is 10.
|
|
|
|
|
|
|
|
*--inside-color* <rrggbb[aa]>
|
2018-05-12 01:39:47 +00:00
|
|
|
Sets the color of the inside of the indicator when typing or idle.
|
|
|
|
|
2018-07-11 01:29:15 +00:00
|
|
|
*--inside-clear-color* <rrggbb[aa]>
|
|
|
|
Sets the color of the inside of the indicator when cleared.
|
|
|
|
|
|
|
|
*--inside-ver-color* <rrggbb[aa]>
|
2018-05-12 01:39:47 +00:00
|
|
|
Sets the color of the inside of the indicator when verifying.
|
|
|
|
|
2018-07-11 01:29:15 +00:00
|
|
|
*--inside-wrong-color* <rrggbb[aa]>
|
2018-05-12 01:39:47 +00:00
|
|
|
Sets the color of the inside of the indicator when invalid.
|
|
|
|
|
2018-07-11 01:29:15 +00:00
|
|
|
*--key-hl-color* <rrggbb[aa]>
|
|
|
|
Sets the color of key press highlight segments.
|
|
|
|
|
|
|
|
*--line-color* <rrggbb[aa]>
|
|
|
|
Sets the color of the lines that separate the inside and outside of the
|
|
|
|
indicator when typing or idle.
|
|
|
|
|
|
|
|
*--line-clear-color* <rrggbb[aa]>
|
|
|
|
Sets the color of the lines that separate the inside and outside of the
|
|
|
|
indicator when cleared.
|
|
|
|
|
|
|
|
*--line-ver-color* <rrggbb[aa]>
|
|
|
|
Sets the color of the lines that separate the inside and outside of the
|
|
|
|
indicator when verifying.
|
2018-05-12 01:39:47 +00:00
|
|
|
|
2018-07-11 01:29:15 +00:00
|
|
|
*--line-wrong-color* <rrggbb[aa]>
|
2018-05-12 01:39:47 +00:00
|
|
|
Sets the color of the lines that separate the inside and outside of the
|
2018-07-11 01:29:15 +00:00
|
|
|
indicator when invalid.
|
2018-05-12 01:39:47 +00:00
|
|
|
|
2018-07-11 01:29:15 +00:00
|
|
|
*-n, --line-uses-inside*
|
2018-05-12 01:39:47 +00:00
|
|
|
Use the color of the inside of the indicator for the line separating the
|
|
|
|
inside and outside of the indicator.
|
|
|
|
|
|
|
|
*-r, --line-uses-ring*
|
|
|
|
Use the outer ring's color for the line separating the inside and outside of
|
|
|
|
the indicator.
|
|
|
|
|
2018-07-11 01:29:15 +00:00
|
|
|
*--ring-color* <rrggbb[aa]>
|
2018-05-12 01:39:47 +00:00
|
|
|
Sets the color of the outside of the indicator when typing or idle.
|
|
|
|
|
2018-07-11 01:29:15 +00:00
|
|
|
*--ring-clear-color* <rrggbb[aa]>
|
|
|
|
Sets the color of the outside of the indicator when cleared.
|
|
|
|
|
|
|
|
*--ring-ver-color* <rrggbb[aa]>
|
2018-05-12 01:39:47 +00:00
|
|
|
Sets the color of the outside of the indicator when verifying.
|
|
|
|
|
2018-07-11 01:29:15 +00:00
|
|
|
*--ring-wrong-color* <rrggbb[aa]>
|
2018-05-12 01:39:47 +00:00
|
|
|
Sets the color of the outside of the indicator when invalid.
|
|
|
|
|
2018-07-11 01:29:15 +00:00
|
|
|
*--separator-color* <rrggbb[aa]>
|
|
|
|
Sets the color of the lines that separate highlight segments.
|
2018-05-12 01:39:47 +00:00
|
|
|
|
2018-07-11 01:29:15 +00:00
|
|
|
*--text-color* <rrggbb[aa]>
|
|
|
|
Sets the color of the text inside the indicator when typing or idle.
|
2018-05-12 01:39:47 +00:00
|
|
|
|
2018-07-11 01:29:15 +00:00
|
|
|
*--text-clear-color* <rrggbb[aa]>
|
|
|
|
Sets the color of the text inside the indicator when cleared.
|
2018-05-12 01:39:47 +00:00
|
|
|
|
2018-07-11 01:29:15 +00:00
|
|
|
*--text-ver-color* <rrggbb[aa]>
|
|
|
|
Sets the color of the text inside the indicator when verifying.
|
|
|
|
|
|
|
|
*--text-wrong-color* <rrggbb[aa]>
|
|
|
|
Sets the color of the text inside the indicator when invalid.
|
2018-05-12 01:39:47 +00:00
|
|
|
|
|
|
|
# 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/swaywm/sway.
|