From 1e7696fceba795e8f67cc11fdc05d44d8d6fcf69 Mon Sep 17 00:00:00 2001 From: Robinhuett <5955614+Robinhuett@users.noreply.github.com> Date: Mon, 14 Jan 2019 16:51:04 +0100 Subject: Add caps lock state to indicator This implements customization for the indicator as proposed in sway#2788 with comments from sway#3367 in mind. The default behaviour does not change exept for the caps lock text color. Since these changes seem to be lost in the split I've remade them. --- swaylock.1.scd | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'swaylock.1.scd') diff --git a/swaylock.1.scd b/swaylock.1.scd index 9f39a91..2c7979b 100644 --- a/swaylock.1.scd +++ b/swaylock.1.scd @@ -44,6 +44,12 @@ Locks your Wayland session. Display the given image, optionally only on the given output. Use -c to set a background color. +*-L, --disable-caps-lock-text* + Disable the Caps Lock Text. + +*-l, --indicator-caps-lock* + Show the current Caps Lock state also on the indicator. + *-s, --scaling* Scaling mode for images: _stretch_, _fill_, _fit_, _center_, or _tile_. @@ -58,6 +64,12 @@ Locks your Wayland session. *--bs-hl-color* Sets the color of backspace highlight segments. +*--caps-lock-bs-hl-color* + Sets the color of backspace highlight segments when Caps Lock is active. + +*--caps-lock-bs-hl-color* + Sets the color of the key press highlight segments when Caps Lock is active. + *--font* Sets the font of the text inside the indicator. @@ -75,6 +87,9 @@ Locks your Wayland session. *--inside-clear-color* Sets the color of the inside of the indicator when cleared. +*--inside-caps-lock-color* + Sets the color of the inside of the indicator when Caps Lock is active. + *--inside-ver-color* Sets the color of the inside of the indicator when verifying. @@ -92,6 +107,10 @@ Locks your Wayland session. Sets the color of the lines that separate the inside and outside of the indicator when cleared. +*--line-caps-lock-color* + Sets the color of the line between the inside and ring when Caps Lock + is active. + *--line-ver-color* Sets the color of the lines that separate the inside and outside of the indicator when verifying. @@ -114,6 +133,9 @@ Locks your Wayland session. *--ring-clear-color* Sets the color of the outside of the indicator when cleared. +*--ring-caps-lock-color* + Sets the color of the ring of the indicator when Caps Lock is active. + *--ring-ver-color* Sets the color of the outside of the indicator when verifying. @@ -129,6 +151,9 @@ Locks your Wayland session. *--text-clear-color* Sets the color of the text inside the indicator when cleared. +*--text-caps-lock-color* + Sets the color of the text when Caps Lock is active. + *--text-ver-color* Sets the color of the text inside the indicator when verifying. -- cgit v1.2.3