[changepaper] Push wallpaper to Searx
This commit is contained in:
@ -40,11 +40,8 @@ if test -f "$SLIM_BG_FILE"; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
SEARX_BG_FILE=/usr/local/lib/python2.7/site-packages/searx/static/themes/courgette/img/bg-body-index.jpg
|
SEARX_BG_FILE=/usr/local/lib/python2.7/site-packages/searx/static/themes/courgette/img/bg-body-index.jpg
|
||||||
if test -f "$SEARX_BG_FILE"; then
|
echo "Setting Searx background image"
|
||||||
echo "Setting Searx background image"
|
scp $BASEDIR/$date.jpg search.local:$SEARX_BG_FILE
|
||||||
rm $SEARX_BG_FILE
|
|
||||||
cp $SEARX_BASEDIR$date.jpg $SEARX_BG_FILE
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Then grab our APOD image and store it for now
|
# Then grab our APOD image and store it for now
|
||||||
#Change directory to where the script resides.
|
#Change directory to where the script resides.
|
||||||
|
|||||||
Reference in New Issue
Block a user