From a27fe463d95da2dfb41cc831451aa95e0231b290 Mon Sep 17 00:00:00 2001 From: godot Date: Sun, 21 Apr 2024 01:53:14 +0200 Subject: [PATCH] learning --- README.md | 0 help.txt | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++ swaylock.conf | 32 ++++++++++++++++++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 README.md create mode 100644 help.txt create mode 100644 swaylock.conf diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/help.txt b/help.txt new file mode 100644 index 0000000..2fb734e --- /dev/null +++ b/help.txt @@ -0,0 +1,58 @@ +-bash: .config/swaylock/help.txt: Permission denied +Usage: swaylock [options...] + + -C, --config Path to the config file. + -c, --color Turn the screen into the given color instead of white. + -d, --debug Enable debugging output. + -e, --ignore-empty-password When an empty password is provided, do not validate it. + -F, --show-failed-attempts Show current count of failed authentication attempts. + -f, --daemonize Detach from the controlling terminal after locking. + -h, --help Show help message and quit. + -i, --image [[]:] Display the given image, optionally only on the given output. + -k, --show-keyboard-layout Display the current xkb layout while typing. + -K, --hide-keyboard-layout Hide the current xkb layout while typing. + -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 Image scaling mode: stretch, fill, fit, center, tile, solid_color. + -t, --tiling Same as --scaling=tile. + -u, --no-unlock-indicator Disable the unlock indicator. + -v, --version Show the version number and quit. + --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-key-hl-color Sets the color of the key press highlight segments when Caps Lock is active. + --font Sets the font of the text. + --font-size Sets a fixed font size for the indicator text. + --indicator-idle-visible Sets the indicator to show even if idle. + --indicator-radius Sets the indicator radius. + --indicator-thickness Sets the indicator thickness. + --indicator-x-position Sets the horizontal position of the indicator. + --indicator-y-position Sets the vertical position of the indicator. + --inside-color Sets the color of the inside of the indicator. + --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. + --inside-wrong-color Sets the color of the inside of the indicator when invalid. + --key-hl-color Sets the color of the 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 line between the inside and ring. + --line-clear-color Sets the color of the line between the inside and ring 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 line between the inside and ring when verifying. + --line-wrong-color Sets the color of the line between the inside and ring when invalid. + -n, --line-uses-inside Use the inside color for the line between the inside and ring. + -r, --line-uses-ring Use the ring color for the line between the inside and ring. + --ring-color Sets the color of the ring of the indicator. + --ring-clear-color Sets the color of the ring 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 ring of the indicator when verifying. + --ring-wrong-color Sets the color of the ring of the indicator when invalid. + --separator-color Sets the color of the lines that separate highlight segments. + --text-color Sets the color of the text. + --text-clear-color Sets the color of the text 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 when verifying. + --text-wrong-color Sets the color of the text when invalid. + +All options are of the form diff --git a/swaylock.conf b/swaylock.conf new file mode 100644 index 0000000..d573217 --- /dev/null +++ b/swaylock.conf @@ -0,0 +1,32 @@ +ignore-empty-password +show-failed-attempts + + +color=1d1f21 +indicator-idle-visible +indicator-radius=150 +indicator-thickness=30 + +inside-color=1d1f21 +inside-clear-color=1d1f21 +inside-ver-color=1d1f21 +inside-wrong-color=1d1f21 + +key-hl-color=7aa6daaa +bs-hl-color=d54e53aa + +separator-color=55555555 + +line-color=1d1f21 +line-uses-ring + +text-color=81a2be +text-clear-color=b5bd68 +text-caps-lock-color=f0c674 +text-ver-color=81a2be +text-wrong-color=cc6666 + +ring-color=81a2be55 +ring-ver-color=81a2be +ring-clear-color=b5bd6811 +ring-wrong-color=cc6666