diff --git a/pages/Hypr Ecosystem/hyprlock.md b/pages/Hypr Ecosystem/hyprlock.md index 5f7b07f..f1d0ce8 100644 --- a/pages/Hypr Ecosystem/hyprlock.md +++ b/pages/Hypr Ecosystem/hyprlock.md @@ -95,6 +95,9 @@ input-field { placeholder_text = Input Password... # Text rendered in the input box when it's empty. hide_input = false rounding = -1 # -1 means complete rounding (circle/oval) + fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color + fail_text = $FAIL ($ATTEMPTS) # can be set to empty + fail_transition = 300 # transition time in ms between normal outer_color and fail_color position = 0, -20 halign = center @@ -102,6 +105,10 @@ input-field { } ``` +Available variables for `fail_text`: + - `$FAIL` - pam fail reason + - `$ATTEMPTS` - number of failed authentication attempts + ### Label ✓ Shadowable