2019-01-14 18:38:03 -06:00
|
|
|
#compdef swaylock
|
|
|
|
#
|
|
|
|
# Completion script for swaylock
|
|
|
|
#
|
|
|
|
|
|
|
|
_arguments -s \
|
2019-09-12 10:15:18 -05:00
|
|
|
'(--bs-hl-color)'--bs-hl-color'[Sets the color of backspace highlight segments]:color:' \
|
|
|
|
'(--caps-lock-bs-hl-color)'--caps-lock-bs-hl-color'[Sets the color of backspace highlight segments when Caps Lock is active]:color:' \
|
|
|
|
'(--caps-lock-key-hl-color)'--caps-lock-key-hl-color'[Sets the color of the key press highlight segments when Caps Lock is active]:color:' \
|
|
|
|
'(--color -c)'{--color,-c}'[Turn the screen into the given color instead of white]:color:' \
|
|
|
|
'(--config -C)'{--config,-C}'[Path to the config file]:filename:_files' \
|
|
|
|
'(--daemonize -f)'{--daemonize,-f}'[Detach from the controlling terminal after locking]' \
|
|
|
|
'(--debug -d)'{--debug,-d}'[Enable debugging output]' \
|
|
|
|
'(--disable-caps-lock-text -L)'{--disable-caps-lock-text,-L}'[Disable the Caps Lock text]' \
|
2019-01-14 18:38:03 -06:00
|
|
|
'(--font)'--font'[Sets the font of the text]:font:' \
|
2019-09-12 10:15:18 -05:00
|
|
|
'(--font-size)'--font-size'[Sets a fixed font size for the indicator text]' \
|
|
|
|
'(--help -h)'{--help,-h}'[Show help message and quit]' \
|
|
|
|
'(--hide-keyboard-layout -K)'{--hide-keyboard-layout,-K}'[Hide the current xkb layout while typing]' \
|
|
|
|
'(--ignore-empty-password -e)'{--ignore-empty-password,-e}'[When an empty password is provided, do not validate it]' \
|
|
|
|
'(--image -i)'{--image,-i}'[Display the given image, optionally only on the given output]:filename:_files' \
|
|
|
|
'(--indicator-caps-lock -l)'{--indicator-caps-lock,-l}'[Show the current Caps Lock state also on the indicator]' \
|
2019-08-03 20:07:50 -05:00
|
|
|
'(--indicator-idle-visible)'--indicator-idle-visible'[Sets the indicator to show even if idle]' \
|
2019-01-14 18:38:03 -06:00
|
|
|
'(--indicator-radius)'--indicator-radius'[Sets the indicator radius]:radius:' \
|
|
|
|
'(--indicator-thickness)'--indicator-thickness'[Sets the indicator thickness]:thickness:' \
|
2019-09-12 10:15:18 -05:00
|
|
|
'(--inside-caps-lock-color)'--inside-caps-lock-color'[Sets the color of the inside of the indicator when Caps Lock is active]:color:' \
|
2019-01-14 18:38:03 -06:00
|
|
|
'(--inside-clear-color)'--inside-clear-color'[Sets the color of the inside of the indicator when cleared]:color:' \
|
2019-09-12 10:15:18 -05:00
|
|
|
'(--inside-color)'--inside-color'[Sets the color of the inside of the indicator]:color:' \
|
|
|
|
'(--inside-ver-color)'--inside-ver-color'[Sets the color of the inside of the indicator when verifying]:color:' \
|
2019-01-14 18:38:03 -06:00
|
|
|
'(--inside-wrong-color)'--inside-wrong-color'[Sets the color of the inside of the indicator when invalid]:color:' \
|
|
|
|
'(--key-hl-color)'--key-hl-color'[Sets the color of the key press highlight segments]:color:' \
|
2019-09-12 10:15:18 -05:00
|
|
|
'(--layout-bg-color)'--layout-bg-color'[Sets the background color of the box containing the layout text]:color:' \
|
|
|
|
'(--layout-border-color)'--layout-border-color'[Sets the color of the border of the box containing the layout text]:color:' \
|
|
|
|
'(--layout-text-color)'--layout-text-color'[Sets the color of the layout text]:color:' \
|
|
|
|
'(--line-caps-lock-color)'--line-caps-lock-color'[Sets the color of the line between the inside and ring when Caps Lock is active]:color:' \
|
2019-01-14 18:38:03 -06:00
|
|
|
'(--line-clear-color)'--line-clear-color'[Sets the color of the line between the inside and ring when cleared]:color:' \
|
2019-09-12 10:15:18 -05:00
|
|
|
'(--line-color)'--line-color'[Sets the color of the line between the inside and ring]:color:' \
|
|
|
|
'(--line-uses-inside -n)'{--line-uses-inside,-n}'[Use the inside color for the line between the inside and ring]' \
|
|
|
|
'(--line-uses-ring -r)'{--line-uses-ring,-r}'[Use the ring color for the line between the inside and ring]' \
|
2019-01-14 18:38:03 -06:00
|
|
|
'(--line-ver-color)'--line-ver-color'[Sets the color of the line between the inside and ring when verifying]:color:' \
|
|
|
|
'(--line-wrong-color)'--line-wrong-color'[Sets the color of the line between the inside and ring when invalid]:color:' \
|
2019-09-12 10:15:18 -05:00
|
|
|
'(--no-unlock-indicator -u)'{--no-unlock-indicator,-u}'[Disable the unlock indicator]' \
|
|
|
|
'(--ring-caps-lock-color)'--ring-caps-lock-color'[Sets the color of the ring of the indicator when Caps Lock is active]:color:' \
|
2019-01-14 18:38:03 -06:00
|
|
|
'(--ring-clear-color)'--ring-clear-color'[Sets the color of the ring of the indicator when cleared]:color:' \
|
2019-09-12 10:15:18 -05:00
|
|
|
'(--ring-color)'--ring-color'[Sets the color of the ring of the indicator]:color:' \
|
2019-01-14 18:38:03 -06:00
|
|
|
'(--ring-ver-color)'--ring-ver-color'[Sets the color of the ring of the indicator when verifying]:color:' \
|
|
|
|
'(--ring-wrong-color)'--ring-wrong-color'[Sets the color of the ring of the indicator when invalid]:color:' \
|
2019-09-12 10:15:18 -05:00
|
|
|
'(--scaling -s)'{--scaling,-s}'[Image scaling mode: stretch, fill, fit, center, tile, solid_color]:mode:(stretch fill fit center tile solid_color)' \
|
2019-01-14 18:38:03 -06:00
|
|
|
'(--separator-color)'--separator-color'[Sets the color of the lines that separate highlight segments]:color:' \
|
2019-09-12 10:15:18 -05:00
|
|
|
'(--show-failed-attempts -F)'{--show-failed-attempts,-F}'[Show current count of failed authentication attempts]' \
|
|
|
|
'(--show-keyboard-layout -k)'{--show-keyboard-layout,-k}'[Display the current xkb layout while typing]' \
|
|
|
|
'(--text-caps-lock-color)'--text-caps-lock-color'[Sets the color of the text when Caps Lock is active]:color:' \
|
2019-01-14 18:38:03 -06:00
|
|
|
'(--text-clear-color)'--text-clear-color'[Sets the color of the text when cleared]:color:' \
|
2019-09-12 10:15:18 -05:00
|
|
|
'(--text-color)'--text-color'[Sets the color of the text]:color:' \
|
2019-01-14 18:38:03 -06:00
|
|
|
'(--text-ver-color)'--text-ver-color'[Sets the color of the text when verifying]:color:' \
|
2019-09-12 10:15:18 -05:00
|
|
|
'(--text-wrong-color)'--text-wrong-color'[Sets the color of the text when invalid]:color:' \
|
|
|
|
'(--tiling -t)'{--tiling,-t}'[Same as --scaling=tile]' \
|
|
|
|
'(--version -v)'{--version,-v}'[Show the version number and quit]'
|