Implement swaylock customization flags

This commit is contained in:
Brian Ashworth 2018-07-10 21:29:15 -04:00
parent 60bba5a961
commit 936a920a8e
5 changed files with 379 additions and 113 deletions

View file

@ -12,23 +12,25 @@ Locks your Wayland session.
# OPTIONS
*-h, --help*
Show help message and quit.
*-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.
*-e, --ignore-empty-password*
When an empty password is provided by the user, do not validate it.
*-f, --daemonize*
Fork into the background after spawning. Note: this is the default behavior
of i3lock.
Detach from the controlling terminal after locking.
*-h, --help*
Show help message and quit.
*-i, --image* [<output>:]<path>
Display the given image, optionally only on the given output. Use -c to set
a background color.
*--scaling*
*-s, --scaling*
Scaling mode for images: _stretch_, _fill_, _fit_, _center_, or _tile_.
*-t, --tiling*
@ -37,59 +39,17 @@ Locks your Wayland session.
*-u, --no-unlock-indicator*
Disable the unlock indicator.
*-f, --daemonize*
Detach from the controlling terminal after locking.
*-v, --version*
Show the version number and quit.
# APPEARANCE
*--bshlcolor* <rrggbb[aa]>
*--bs-hl-color* <rrggbb[aa]>
Sets the color of backspace highlight segments.
*--font* <font>
Sets the font of the text inside the indicator.
*--insidecolor* <rrggbb[aa]>
Sets the color of the inside of the indicator when typing or idle.
*--insidevercolor* <rrggbb[aa]>
Sets the color of the inside of the indicator when verifying.
*--insidewrongcolor* <rrggbb[aa]>
Sets the color of the inside of the indicator when invalid.
*--keyhlcolor* <rrggbb[aa]>
Sets the color of keypress highlight segments.
*--linecolor* <rrggbb[aa]>
Sets the color of the lines that separate the inside and outside of the
indicator.
*-s, --line-uses-inside*
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.
*--ringcolor* <rrggbb[aa]>
Sets the color of the outside of the indicator when typing or idle.
*--ringvercolor* <rrggbb[aa]>
Sets the color of the outside of the indicator when verifying.
*--ringwrongcolor* <rrggbb[aa]>
Sets the color of the outside of the indicator when invalid.
*--separatorcolor* <rrggbb[aa]>
Sets the color of the lines that seperate highlight segments.
*--textcolor* <rrggbb[aa]>
Sets the color of the text inside the indicator.
*--indicator-radius* <radius>
Sets the radius of the indicator to _radius_ pixels. The default value is
50.
@ -98,6 +58,72 @@ Locks your Wayland session.
Sets the thickness of the indicator to _thickness_ pixels. The default value
is 10.
*--inside-color* <rrggbb[aa]>
Sets the color of the inside of the indicator when typing or idle.
*--inside-clear-color* <rrggbb[aa]>
Sets the color of the inside of the indicator when cleared.
*--inside-ver-color* <rrggbb[aa]>
Sets the color of the inside of the indicator when verifying.
*--inside-wrong-color* <rrggbb[aa]>
Sets the color of the inside of the indicator when invalid.
*--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.
*--line-wrong-color* <rrggbb[aa]>
Sets the color of the lines that separate the inside and outside of the
indicator when invalid.
*-n, --line-uses-inside*
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.
*--ring-color* <rrggbb[aa]>
Sets the color of the outside of the indicator when typing or idle.
*--ring-clear-color* <rrggbb[aa]>
Sets the color of the outside of the indicator when cleared.
*--ring-ver-color* <rrggbb[aa]>
Sets the color of the outside of the indicator when verifying.
*--ring-wrong-color* <rrggbb[aa]>
Sets the color of the outside of the indicator when invalid.
*--separator-color* <rrggbb[aa]>
Sets the color of the lines that separate highlight segments.
*--text-color* <rrggbb[aa]>
Sets the color of the text inside the indicator when typing or idle.
*--text-clear-color* <rrggbb[aa]>
Sets the color of the text inside the indicator when cleared.
*--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.
# AUTHORS
Maintained by Drew DeVault <sir@cmpwn.com>, who is assisted by other open