mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 04:09:23 +00:00
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:
5
bin/omarchy-refresh-hyprlock
Executable file
5
bin/omarchy-refresh-hyprlock
Executable 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
|
@ -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
2
migrations/1752899588.sh
Normal file
@ -0,0 +1,2 @@
|
||||
echo "Update .config/hypr/hyprlock.conf to include failed attempt counter"
|
||||
omarchy-refresh-hyprlock
|
Reference in New Issue
Block a user