Include failed attempt counter and notice when you are locked out for 10 mins

Closes #229
Co-authored-by: @jhosdev
This commit is contained in:
David Heinemeier Hansson
2025-07-19 12:34:34 -05:00
parent 178f97a6e3
commit ceedf474cb
3 changed files with 8 additions and 5 deletions

5
bin/omarchy-refresh-hyprlock Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
# Overwrite local Hyprlock settings with the latest in Omarchy, but create a backup
cp -f ~/.config/hypr/hyprlock.conf ~/.config/hypr/hyprlock.conf.bak 2>/dev/null
cp -f ~/.local/share/omarchy/config/hypr/hyprlock.conf ~/.config/hypr/ 2>/dev/null

View File

@ -1,7 +1,3 @@
# ────────────────────────────────────────────────────────────
# Hyprlock — minimal blur with ringed input
# ────────────────────────────────────────────────────────────
source = ~/.config/omarchy/current/theme/hyprlock.conf
general {
@ -36,7 +32,7 @@ input-field {
placeholder_color = $placeholder_color
placeholder_text = Enter Password 󰈷 
check_color = $check_color
fail_text = Wrong
fail_text = <i>$PAMFAIL ($ATTEMPTS)</i>
rounding = 0
shadow_passes = 0

2
migrations/1752899588.sh Normal file
View File

@ -0,0 +1,2 @@
echo "Update .config/hypr/hyprlock.conf to include failed attempt counter"
omarchy-refresh-hyprlock