mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-21 20:35:57 +01:00
hyprlock: add general:pam_module and $PROMPT variable for input:place… (#582)
* hyprlock: add general:pam_module and $PROMPT variable for input:placeholder_text * hyprlock: add $PROMPT variable for labels
This commit is contained in:
parent
c1026d33f5
commit
1321e3fc8d
1 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,7 @@ Variables in the `general` category:
|
|||
| no_fade_in | disables the fadein animation | bool | false |
|
||||
| no_fade_out | disables the fadeout animation | bool | false |
|
||||
| ignore_empty_input | skips validation when empty password is provided | bool | false |
|
||||
| pam_module | sets the pam module used for authentication. If the module isn't found in `/etc/pam.d`, "su" will be used as a fallback | str | hyprlock |
|
||||
|
||||
## Keyboard Shortcuts and Actions
|
||||
|
||||
|
@ -195,6 +196,9 @@ Behaviour of `swap_font_color` is as follows:
|
|||
|
||||
{{< /callout >}}
|
||||
|
||||
Available variables for `placeholder_text`:
|
||||
- `$PROMPT` - prompt text provided by pam. Usually this will be "Password: ", but it depends on your pam configuration.
|
||||
|
||||
Available variables for `fail_text`:
|
||||
- `$FAIL` - pam fail reason
|
||||
- `$ATTEMPTS` - number of failed authentication attempts
|
||||
|
@ -224,6 +228,7 @@ Available variables for `text`:
|
|||
- `$USER` - username (e.g. linux-user)
|
||||
- `$DESC` - user description (e.g. Linux User)
|
||||
- `$TIME` - current time (e.g. `13:37`)
|
||||
- `$PROMPT` - last pam prompt
|
||||
- `$FAIL` - last pam fail reason
|
||||
- `$ATTEMPTS` - failed attempts
|
||||
- `$LAYOUT` - current keyboard layout
|
||||
|
|
Loading…
Reference in a new issue