mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-07 16:54:21 +02:00
xss-lock: comment invocation of xsecurelock
This commit is contained in:
parent
0de76ac9a5
commit
4ec09efa25
1 changed files with 8 additions and 2 deletions
10
bin/xss-lock
10
bin/xss-lock
|
@ -35,12 +35,18 @@ case "$1" in
|
||||||
dunstctl set-paused true
|
dunstctl set-paused true
|
||||||
# Then, lock screen
|
# Then, lock screen
|
||||||
env XSECURELOCK_SAVER=$HOME/.config/i3/bin/xsecurelock-saver \
|
env XSECURELOCK_SAVER=$HOME/.config/i3/bin/xsecurelock-saver \
|
||||||
|
`# Disable Randr 1.5 support to make screensaver spans accross the whole monitor` \
|
||||||
XSECURELOCK_NO_XRANDR15=1 \
|
XSECURELOCK_NO_XRANDR15=1 \
|
||||||
|
`# Delay mapping saver window by 500ms to give some time to saver to start` \
|
||||||
|
XSECURELOCK_SAVER_DELAY_MS=500 \
|
||||||
|
`# Do not stop saver on when DPMS kicks in` \
|
||||||
|
XSECURELOCK_SAVER_STOP_ON_DPMS=0 \
|
||||||
|
`# 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 \
|
||||||
XSECURELOCK_SAVER_DELAY_MS=500 \
|
`# Font for authentication window` \
|
||||||
XSECURELOCK_SAVER_STOP_ON_DPMS=0 \
|
|
||||||
XSECURELOCK_FONT="Iosevka" \
|
XSECURELOCK_FONT="Iosevka" \
|
||||||
|
`# Timeout for authentication window` \
|
||||||
XSECURELOCK_AUTH_TIMEOUT=10 \
|
XSECURELOCK_AUTH_TIMEOUT=10 \
|
||||||
xsecurelock
|
xsecurelock
|
||||||
echo "lock: unlock screen"
|
echo "lock: unlock screen"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue