aboutsummaryrefslogtreecommitdiff
path: root/Scripts
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-08-19 16:31:04 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-08-19 16:31:04 +0100
commit45f7a9530dbd6a2ab7f5c861c36ca13f5042c287 (patch)
tree9e59d6113521a9f6d6b900f88e755c9a1373eb95 /Scripts
parent2c7aaa0f7dd5a252746389bbc77d07c75bb458d1 (diff)
downloaddotfiles-45f7a9530dbd6a2ab7f5c861c36ca13f5042c287.tar.gz
dotfiles-45f7a9530dbd6a2ab7f5c861c36ca13f5042c287.tar.bz2
dotfiles-45f7a9530dbd6a2ab7f5c861c36ca13f5042c287.zip
(Scripts)~lock: i3lock -> xsecurelock + xscreensaver
XSecureLock supports fingerprints and xscreensaver looks nicer.
Diffstat (limited to 'Scripts')
-rwxr-xr-xScripts/.local/scripts/lock3
1 files changed, 1 insertions, 2 deletions
diff --git a/Scripts/.local/scripts/lock b/Scripts/.local/scripts/lock
index 1939e37..42d1691 100755
--- a/Scripts/.local/scripts/lock
+++ b/Scripts/.local/scripts/lock
@@ -2,5 +2,4 @@
set -euo pipefail
# lock_image=$HOME/Pictures/Lockscreens/0062.png
-lock_image="$HOME/Pictures/Lockscreens/$(ls $HOME/Pictures/Lockscreens | shuf | head -1)"
-i3lock -nbfe -i $lock_image -c 000000 # 33ee88
+XSECURELOCK_PAM_SERVICE=xsecurelock XSECURELOCK_SAVER=saver_xscreensaver XSECURELOCK_PASSWORD_PROMPT=time_hex xsecurelock