mirror of
https://github.com/Foltik/dotfiles
synced 2024-11-28 13:36:59 -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
|