]> git.rmz.io Git - dotfiles.git/commitdiff
xprofile: use lock-session to lock on skull-canyon
authorSamir Benmendil <me@rmz.io>
Thu, 13 Apr 2023 23:57:32 +0000 (00:57 +0100)
committerSamir Benmendil <me@rmz.io>
Tue, 2 May 2023 08:22:34 +0000 (09:22 +0100)
xprofile.d/10-screensaver.sh

index 86dc2126ab0058ffc54d5eb43ffb1f14d5a00ae8..3fcfa95e8c8c299bdc20cfe2a61dfacb70f0283b 100755 (executable)
@@ -20,8 +20,8 @@ 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