Script fixes

This commit is contained in:
David Tomaschik
2026-08-26 16:56:15 -07:00
parent 3666115090
commit ae111baa2b
8 changed files with 62 additions and 29 deletions

View File

@@ -1,6 +1,10 @@
#!/bin/sh
LOCKTIME="${SCREENSAVER_MIN:-5}"
LOCKER="i3lock -c 000000"
# Cleanup previously leaked background agents
pkill -x xss-lock 2>/dev/null || true
pkill -x xautolock 2>/dev/null || true
# intentionally want word splitting below
# do not quote this
/usr/bin/xss-lock -- ${LOCKER} &