add wkgen
This commit is contained in:
parent
78d5c0cda5
commit
038b19996b
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
date='date +%Y-%m-%d\ %T'
|
||||||
|
logfile=~/.wkgen.log
|
||||||
|
set -e
|
||||||
|
echo "[$(eval $date)]: starting webrequests..." | tee -a $logfile
|
||||||
|
curl -s -o ~/Pictures/wallpaper/wk-progress.1.png "https://wkgen.homeserver.box/?k=7b98a684-5c91-44ab-86b1-f7023609fe4e&d=1"
|
||||||
|
echo "[$(eval $date)]: setting wallpaper..." | tee -a $logfile
|
||||||
|
gsettings set org.cinnamon.desktop.background picture-uri "file:///home/plex/Pictures/wallpaper/wk-progress.1.png"
|
||||||
|
echo "[$(eval $date)]: done" | tee -a $logfile
|
Loading…
Reference in New Issue