X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/2d171ced9365bac5a592c2a809d93946933a68d8..refs/heads/lazyvim:/xprofile.d/10-screensaver.sh diff --git a/xprofile.d/10-screensaver.sh b/xprofile.d/10-screensaver.sh index 4e9a048..3fcfa95 100755 --- a/xprofile.d/10-screensaver.sh +++ b/xprofile.d/10-screensaver.sh @@ -20,9 +20,14 @@ elif [[ $(hostname) == "skull-canyon" ]]; then xidlehook \ --socket=$XIDLEHOOK_SOCKET \ --not-when-fullscreen \ - --timer 300 'xset dpms force off' '' \ - --timer 300 'i3lock -c 000000' '' \ + --timer 300 'xset dpms force off' '' \ + --timer 300 'loginctl lock-session' '' \ & fi +# FIXME: as soon as dpms force off comes on the session is locked regardles +# TODO: maybe there is no need for xidlehook +# Although, I'm not sure how suspend will work +# xset s 300 60 # notify after 300, lock 60 after +# xset dpms 300 360 1800 xss-lock -- i3lock --nofork --color=000000 &