diff --git a/bin/omarchy-refresh-hyprlock b/bin/omarchy-refresh-hyprlock new file mode 100755 index 0000000..0c1167c --- /dev/null +++ b/bin/omarchy-refresh-hyprlock @@ -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 diff --git a/config/hypr/hyprlock.conf b/config/hypr/hyprlock.conf index d24ae2e..97d736e 100644 --- a/config/hypr/hyprlock.conf +++ b/config/hypr/hyprlock.conf @@ -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 = $PAMFAIL ($ATTEMPTS) rounding = 0 shadow_passes = 0 diff --git a/migrations/1752899588.sh b/migrations/1752899588.sh new file mode 100644 index 0000000..ba778cd --- /dev/null +++ b/migrations/1752899588.sh @@ -0,0 +1,2 @@ +echo "Update .config/hypr/hyprlock.conf to include failed attempt counter" +omarchy-refresh-hyprlock