sleep service

This commit is contained in:
2022-02-17 23:43:57 +01:00
parent 19b43bbb91
commit 222706d7e1
3 changed files with 82 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
[Unit]
Description=Sleep Manager
PartOf=graphical-session.target
[Service]
ExecStart=/usr/bin/xautolock -time 10 -locker "i3exit suspend" -detectsleep
[Install]
WantedBy=xsession.target