mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-08 01:04:21 +02:00
xss-lock: handle wide screens split in two
This commit is contained in:
parent
2ff8e9bacd
commit
295029cf43
1 changed files with 3 additions and 1 deletions
|
@ -36,8 +36,10 @@ case "$1" in
|
|||
dunstctl set-paused true
|
||||
# Then, lock screen
|
||||
env XSECURELOCK_SAVER=$HOME/.config/i3/bin/xsecurelock-saver \
|
||||
`# Disable Randr 1.5 support to make screensaver spans accross the whole monitor` \
|
||||
`# Disable RandR 1.5 support to make screensaver spans accross the whole monitor` \
|
||||
XSECURELOCK_NO_XRANDR15=1 \
|
||||
`# Disable RandR when we know we have a single monitor` \
|
||||
XSECURELOCK_NO_XRANDR=$($(grep -qFwx 1 $XDG_RUNTIME_DIR/i3/outputs.txt 2> /dev/null) && echo 1 || echo 0) \
|
||||
`# Delay mapping saver window by 500ms to give some time to saver to start` \
|
||||
XSECURELOCK_SAVER_DELAY_MS=500 \
|
||||
`# Do not kill screensaver when DPMS is enabled` \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue