got working finger print usage; update nvim

This commit is contained in:
2026-09-12 14:53:16 -06:00
parent 2d5a4e9f4c
commit dabda20dae
5 changed files with 46 additions and 24 deletions
+9 -1
View File
@@ -4,15 +4,23 @@
# If the real hyprlock dies, this restarts it so the session doesn't end up in a
# "lockscreen app died" state. Requires misc:allow_session_lock_restore = true
# in Hyprland config for the replacement lock to be accepted.
#
# --immediate-render: present the first frame as soon as the background is up
# instead of waiting for every resource (labels run scripts like weather.sh).
# Assets pop in when ready, so the "lock screen took seconds to appear" stalls
# (Hyprland "Lockdead frames") don't happen.
set -u
REAL_HYPRLOCK=/usr/bin/hyprlock
MAX_RESTARTS=20
# hyprlock logs to stdout/stderr; capture them so the last lock cycle is
# readable for debugging (fprint claim/verify, auth results).
LOGFILE="${XDG_RUNTIME_DIR:-/tmp}/hyprlock.log"
restart=0
while true; do
"$REAL_HYPRLOCK" "$@"
"$REAL_HYPRLOCK" --immediate-render "$@" >"${LOGFILE}" 2>&1
code=$?
# 0: exited cleanly (e.g. unlocked) -- done.