From ab098b9e9a84e2ccd94653364bdb91e484588e70 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 12 Oct 2022 23:27:01 +0200 Subject: [PATCH] xss-lock: update options - do not mess with DPMS (without a patch) - do not display keyboard layout --- bin/xss-lock | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/xss-lock b/bin/xss-lock index add4cd6..87c0149 100755 --- a/bin/xss-lock +++ b/bin/xss-lock @@ -42,6 +42,8 @@ case "$1" in XSECURELOCK_SAVER_DELAY_MS=500 \ `# Do not kill screensaver when DPMS is enabled` \ XSECURELOCK_SAVER_STOP_ON_DPMS=0 \ + `# Do not mess with DPMS settings` \ + XSECURELOCK_BLANK_TIMEOUT=-1 \ `# Image and text for saver` \ XSECURELOCK_SAVER_IMAGE=$XDG_RUNTIME_DIR/i3/current-wallpaper.png \ XSECURELOCK_SAVER_WEATHER=$XDG_RUNTIME_DIR/i3/weather.txt \ @@ -49,6 +51,8 @@ case "$1" in XSECURELOCK_FONT="Iosevka" \ `# Timeout for authentication window` \ XSECURELOCK_AUTH_TIMEOUT=10 \ + `# Don't show keyboard layout` \ + XSECURELOCK_SHOW_KEYBOARD_LAYOUT=0 \ xsecurelock echo "lock: unlock screen" # After unlocking screen, stop dimmer, restore notifications