diff --git a/.config/X11/xsession.d/70xsecurelock b/.config/X11/xsession.d/70xsecurelock index 8b3c5176a..08380601c 100755 --- a/.config/X11/xsession.d/70xsecurelock +++ b/.config/X11/xsession.d/70xsecurelock @@ -1,17 +1,21 @@ #!/bin/sh -export XSECURELOCK_AUTH_BACKGROUND_COLOR="#24283b" -export XSECURELOCK_AUTH_FOREGROUND_COLOR="#c0caf5" -export XSECURELOCK_AUTH_WARNING_COLOR="#f7768e" -export XSECURELOCK_BACKGROUND_COLOR="#15161E" -export XSECURELOCK_DATETIME_FORMAT="%d.%m.%Y %H:%M" -export XSECURELOCK_PASSWORD_PROMPT="time_hex" -export XSECURELOCK_AUTH_TIMEOUT=10 -export XSECURELOCK_SHOW_DATETIME=1 -export XSECURELOCK_SAVER="/usr/libexec/xscreensaver/cubicgrid" -export XSECURELOCK_SHOW_DATETIME=1 -export XSECURELOCK_SHOW_HOSTNAME=1 -export XSECURELOCK_SHOW_KEYBOARD_LAYOUT=0 - xset s 300 -xss-lock -l -- xsecurelock & + +env \ + XSECURELOCK_AUTH_BACKGROUND_COLOR="#24283b" \ + XSECURELOCK_AUTH_FOREGROUND_COLOR="#c0caf5" \ + XSECURELOCK_AUTH_WARNING_COLOR="#f7768e" \ + XSECURELOCK_BACKGROUND_COLOR="#15161E" \ + XSECURELOCK_DATETIME_FORMAT="%d.%m.%Y %H:%M" \ + XSECURELOCK_PASSWORD_PROMPT="time_hex" \ + XSECURELOCK_AUTH_TIMEOUT=5 \ + XSECURELOCK_BLANK_TIMEOUT=30 \ + XSECURELOCK_BLANK_DPMS_STATE="off" \ + XSECURELOCK_BURNIN_MITIGATION=0 \ + XSECURELOCK_DIM_FPS=60 \ + XSECURELOCK_SHOW_DATETIME=1 \ + XSECURELOCK_SAVER="/usr/libexec/xscreensaver/cubicgrid" \ + XSECURELOCK_SHOW_USERNAME=1 \ + XSECURELOCK_SHOW_HOSTNAME=1 \ + xss-lock -n /usr/libexec/xsecurelock/dimmer -l -- sh -c "xsecurelock -- playerctl pause || kill -9 -1" &