mirror of
https://github.com/Foltik/dotfiles
synced 2024-12-01 06:44:51 -05:00
13 lines
180 B
SYSTEMD
13 lines
180 B
SYSTEMD
|
[Unit]
|
||
|
Description=User Suspend Actions
|
||
|
Before=sleep.target
|
||
|
|
||
|
[Service]
|
||
|
User=%I
|
||
|
Type=forking
|
||
|
Environment=DISPLAY=:0
|
||
|
ExecStart=/usr/bin/i3lock-fancy
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=sleep.target
|