~kris/dots

srice

ref: e98f3b030dc24445bd55c68d95d2d81933fd68b3 srice/.local/bin/slock -rw-r--r-- 480 bytes
e98f3b03 — Kris Yotam chore: sync local state after restore (push updates, no pull) a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# slock replacement - uses xsecurelock (dual GPU safe)
export XSECURELOCK_PAM_SERVICE=xsecurelock
export XSECURELOCK_PASSWORD_PROMPT=asterisks
# Disable lock-time blanking. Session xset -dpms only covers idle; xsecurelock
# has its own blank timer and defaults to saver_blank + DPMS off, which is why
# the screens go black (and can hang on dual-GPU + 4 monitors) when locking.
export XSECURELOCK_BLANK_TIMEOUT=-1
export XSECURELOCK_BLANK_DPMS_STATE=on
exec xsecurelock