[changepaper] Push wallpaper to Searx

This commit is contained in:
2020-10-26 00:17:10 -04:00
parent 41cb8eb197
commit 4c0fec3cec

View File

@ -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"
rm $SEARX_BG_FILE scp $BASEDIR/$date.jpg search.local:$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.