Install the lock screen PAM stack and replace the missing screensaver effects

This commit is contained in:
2026-09-21 01:07:34 +00:00
parent 64afc07250
commit d316308bf5
10 changed files with 70 additions and 10 deletions
+4 -3
View File
@@ -20,7 +20,8 @@ if pgrep -x "1password" >/dev/null && blob-cmd-present 1password; then
fi
# Avoid running screensaver when locked
pkill -x ttfx 2>/dev/null || true
# ttfx handles SIGTERM asynchronously, so keep its terminal alive until it exits.
timeout 1s pidwait -x ttfx 2>/dev/null || true
effect_command=$(blob-screensaver-effect 2>/dev/null) && {
pkill -x "$effect_command" 2>/dev/null || true
timeout 1s pidwait -x "$effect_command" 2>/dev/null || true
}
pkill -f '[o]rg.blob.screensaver' 2>/dev/null || true