From 2f6ff821ba5573e93b8e54201b89dd04dd3c0547 Mon Sep 17 00:00:00 2001
From: bvr-yr <130279855+bvr-yr@users.noreply.github.com>
Date: Sat, 9 Mar 2024 19:45:01 +0300
Subject: [PATCH] hyprlock: add fail display changes (#516)
* hyprlock: mention fail display changes
* edit
* edit2
---
pages/Hypr Ecosystem/hyprlock.md | 7 +++++++
1 file changed, 7 insertions(+)
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