From a052a56bc2c476870259f22aca5791c553bf582b Mon Sep 17 00:00:00 2001 From: Dominik Bendle Date: Tue, 5 Feb 2019 16:12:54 +0100 Subject: Display xkb layout while typing Displays the current keyboard layout below the unlock indicator if more than one xkb layout is configured or the show-keyboard-layout option is given. The text is displayed with a background box. Adds commandline options for text color, background color and border color of the box as well. --- swaylock.1.scd | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'swaylock.1.scd') diff --git a/swaylock.1.scd b/swaylock.1.scd index 9c5ab46..bb6369b 100644 --- a/swaylock.1.scd +++ b/swaylock.1.scd @@ -27,6 +27,9 @@ Locks your Wayland session. *-e, --ignore-empty-password* When an empty password is provided by the user, do not validate it. +*-F, --show-failed-attempts* + Show the number of failed authentication attempts on the indicator. + *-f, --daemonize* Detach from the controlling terminal after locking. @@ -48,15 +51,16 @@ Locks your Wayland session. a background color. If the path potentially contains a ':', prefix it with another ':' to prevent interpreting part of it as . +*-k, --show-keyboard-layout* + Force displaying the current xkb layout while typing, even if only one layout + is configured. + *-L, --disable-caps-lock-text* Disable the Caps Lock Text. *-l, --indicator-caps-lock* Show the current Caps Lock state also on the indicator. -*-F, --show-failed-attempts* - Show the number of failed authentication attempts on the indicator. - *-s, --scaling* Scaling mode for images: _stretch_, _fill_, _fit_, _center_, or _tile_. Use the additional mode _solid\_color_ to display only the background color, even @@ -107,6 +111,15 @@ Locks your Wayland session. *--key-hl-color* Sets the color of key press highlight segments. +*--layout-bg-color* + Sets the background color of the box containing the layout text. + +*--layout-border-color* + Sets the color of the border of the box containing the layout text. + +*--layout-text-color* + Sets the color of the layout text. + *--line-color* Sets the color of the lines that separate the inside and outside of the indicator when typing or idle. -- cgit v1.2.3