diff --git a/Perso/systemd_timers/lockScreenUpdate.service b/Perso/systemd_timers/lockScreenUpdate.service new file mode 100644 index 0000000..b78b1f3 --- /dev/null +++ b/Perso/systemd_timers/lockScreenUpdate.service @@ -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' \ No newline at end of file diff --git a/Perso/systemd_timers/lockScreenUpdate.timer b/Perso/systemd_timers/lockScreenUpdate.timer new file mode 100644 index 0000000..5c777f4 --- /dev/null +++ b/Perso/systemd_timers/lockScreenUpdate.timer @@ -0,0 +1,10 @@ +[Unit] +Description=Updates lockscreen background +Requires=lightdm.service +After=lightdm.service + +[Timer] +OnActiveSec=5min + +[Install] +WantedBy=timers.target \ No newline at end of file