mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-05 21:15:58 +01:00
hyprlock: add fail display changes (#516)
* hyprlock: mention fail display changes * edit * edit2
This commit is contained in:
parent
779c8df743
commit
2f6ff821ba
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
||||
✓ Shadowable
|
||||
|
|
Loading…
Reference in a new issue