1
0
Fork 0

Timed systemd unit for lockscreen background update

This commit is contained in:
Teo-CD 2019-01-24 23:29:58 +01:00 committed by trotFunky
parent 63944ba313
commit 0c7efade52
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,7 @@
[Unit]
Description=Updates lockscreen background
[Service]
Type=oneshot
User=trotfunky
ExecStart=/bin/bash -c 'DISPLAY=:0 scrot -z ~/Pictures/lock.png ; convert -blur 0x3 ~/Pictures/lock.png ~/Pictures/lock.png'

View file

@ -0,0 +1,10 @@
[Unit]
Description=Updates lockscreen background
Requires=lightdm.service
After=lightdm.service
[Timer]
OnActiveSec=5min
[Install]
WantedBy=timers.target