xss-lock: update options

- do not mess with DPMS (without a patch)
- do not display keyboard layout
This commit is contained in:
Vincent Bernat 2022-10-12 23:27:01 +02:00
parent 67d5f3fe66
commit ab098b9e9a

View file

@ -42,6 +42,8 @@ case "$1" in
XSECURELOCK_SAVER_DELAY_MS=500 \ XSECURELOCK_SAVER_DELAY_MS=500 \
`# Do not kill screensaver when DPMS is enabled` \ `# Do not kill screensaver when DPMS is enabled` \
XSECURELOCK_SAVER_STOP_ON_DPMS=0 \ XSECURELOCK_SAVER_STOP_ON_DPMS=0 \
`# Do not mess with DPMS settings` \
XSECURELOCK_BLANK_TIMEOUT=-1 \
`# Image and text for saver` \ `# Image and text for saver` \
XSECURELOCK_SAVER_IMAGE=$XDG_RUNTIME_DIR/i3/current-wallpaper.png \ XSECURELOCK_SAVER_IMAGE=$XDG_RUNTIME_DIR/i3/current-wallpaper.png \
XSECURELOCK_SAVER_WEATHER=$XDG_RUNTIME_DIR/i3/weather.txt \ XSECURELOCK_SAVER_WEATHER=$XDG_RUNTIME_DIR/i3/weather.txt \
@ -49,6 +51,8 @@ case "$1" in
XSECURELOCK_FONT="Iosevka" \ XSECURELOCK_FONT="Iosevka" \
`# Timeout for authentication window` \ `# Timeout for authentication window` \
XSECURELOCK_AUTH_TIMEOUT=10 \ XSECURELOCK_AUTH_TIMEOUT=10 \
`# Don't show keyboard layout` \
XSECURELOCK_SHOW_KEYBOARD_LAYOUT=0 \
xsecurelock xsecurelock
echo "lock: unlock screen" echo "lock: unlock screen"
# After unlocking screen, stop dimmer, restore notifications # After unlocking screen, stop dimmer, restore notifications