diff --git a/pages/Hypr Ecosystem/hyprlock.md b/pages/Hypr Ecosystem/hyprlock.md index 15923a5..cadf551 100644 --- a/pages/Hypr Ecosystem/hyprlock.md +++ b/pages/Hypr Ecosystem/hyprlock.md @@ -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