dotfiles/other-files/suspend@.service
2023-11-20 00:48:36 -06:00

13 lines
No EOL
229 B
Desktop File

[Unit]
Description=User suspend actions
Before=sleep.target
[Service]
User=%Install
Type-forking
Environment=DISPLAY=:0
ExecStartPre=/usr/bin/i3lock -c 202f56
ExecStart=/usr/bin/systemctl suspend
[Install]
WantedBy=sleep.target