hyprlock: add fail display changes (#516)

* hyprlock: mention fail display changes

* edit

* edit2
This commit is contained in:
bvr-yr 2024-03-09 19:45:01 +03:00 committed by GitHub
parent 779c8df743
commit 2f6ff821ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -95,6 +95,9 @@ input-field {
placeholder_text = <i>Input Password...</i> # 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 = <i>$FAIL <b>($ATTEMPTS)</b></i> # 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
&check; Shadowable