This commit is contained in:
2022-03-03 00:09:56 +01:00
parent aefab30157
commit 270cc9cc2e
7 changed files with 96 additions and 10 deletions

View File

@@ -4,7 +4,7 @@ PartOf=graphical-session.target
[Service]
#ExecStart=/usr/bin/xautolock -time 10 -locker "i3exit suspend" -detectsleep
ExecStart=/usr/bin/swayidle -w timeout 300 'swaylock -f -c 262626' timeout 600 'systemctl suspend' before-sleep 'swaylock -f -i /home/beppe/Pictures/wallhaven-y8w1zg.jpg'
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]