]> git.rmz.io Git - dotfiles.git/commit
xprofile: use xss-lock and loginctl lock-session to trigger i3lock
authorSamir Benmendil <me@rmz.io>
Mon, 26 Sep 2022 16:13:18 +0000 (17:13 +0100)
committerSamir Benmendil <me@rmz.io>
Wed, 28 Sep 2022 09:57:51 +0000 (10:57 +0100)
commit2d171ced9365bac5a592c2a809d93946933a68d8
tree4169a7c3c24e7679bd4b7bb5c6ba501de2282579
parent367a240534f2e939fbb15baed6a34736b7360637
xprofile: use xss-lock and loginctl lock-session to trigger i3lock

xss-lock makes sure that i3lock is triggered when the session is locked
via systemd by other means than xidlehook, i.e. LidClose events.

Since there is now a handler for session locking in systemd, might as
well use that on the timer as well via lock-session.
xprofile.d/10-screensaver.sh