Script to rotate wallpaper
This commit is contained in:
parent
8bff2f7147
commit
bc61b23883
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
PID=`cat /tmp/$USER-wallpaper.pid`
|
||||||
|
|
||||||
|
if [ $PID ]; then
|
||||||
|
kill -SIGUSR1 $PID
|
||||||
|
else
|
||||||
|
systemctl --user restart wallpapers.service
|
||||||
|
fi
|
Loading…
Reference in New Issue