-
-
Save andir/5db0a0a17e1e87ceefd65bfa57a3d345 to your computer and use it in GitHub Desktop.
systemctl --user cat xautolock-session.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /nix/store/hnvi6wzvj9cvxzq4zqx1zkr91njnij9l-xautolock-session.service/xautolock-session.service | |
[Install] | |
WantedBy=graphical-session.target | |
[Service] | |
ExecStart=/nix/store/b3iwwm5nvvg0gjcjrgpcyhmd0pzjcjn3-xautolock-2.2/bin/xautolock \ | |
-detectsleep \ | |
-time 10 \ | |
-locker '/nix/store/h3pzqhlqsfh3vads4f0m8abp6pjr45jx-systemd-239/bin/loginctl lock-session $XDG_SESSION_ID' \ | |
[Unit] | |
After=graphical-session-pre.target | |
Description=xautolock, session locker service | |
PartOf=graphical-session.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment