1
0
Fork 0
Scripts/Perso/systemd_timers/sleepLocki3.service

15 lines
250 B
Desktop File

#/etc/systemd/system/
[Unit]
Description=Turning i3lock on before sleep
Before=sleep.target
[Service]
User=trotfunky
Type=forking
Environment=DISPLAY=:0
ExecStart=/home/trotfunky/lockscreen.sh
ExecStartPost=sleep 1
[Install]
WantedBy=sleep.target