This commit is contained in:
2022-03-03 02:33:00 +01:00
parent 270cc9cc2e
commit 3165a1f9d0
3 changed files with 34 additions and 30 deletions

View File

@@ -3,8 +3,8 @@ Description=Sleep Manager
PartOf=graphical-session.target
[Service]
#ExecStart=/usr/bin/xautolock -time 10 -locker "i3exit suspend" -detectsleep
ExecStart=/usr/bin/swayidle -w timeout 300 'swaylock -f -i /home/beppe/Pictures/wallhaven-5w5pd8.png' timeout 600 'systemctl suspend' before-sleep 'swaylock -f -i /home/beppe/Pictures/wallhaven-5w5pd8.png'
ExecStart=/usr/bin/xautolock -time 10 -locker "i3exit suspend" -detectsleep
#ExecStart=/usr/bin/swayidle -w timeout 300 'swaylock -f -i /home/beppe/Pictures/wallhaven-5w5pd8.png' timeout 600 'systemctl suspend' before-sleep 'swaylock -f -i /home/beppe/Pictures/wallhaven-5w5pd8.png'
Environment=WAYLAND_DISPLAY=wayland-1
[Install]