From 4c0fec3cec85d65b533aa9dacbb66c624ba750b8 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Mon, 26 Oct 2020 00:17:10 -0400 Subject: [PATCH] [changepaper] Push wallpaper to Searx --- bin/.bin/changepaper | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/bin/.bin/changepaper b/bin/.bin/changepaper index 2bd3a41..da24004 100755 --- a/bin/.bin/changepaper +++ b/bin/.bin/changepaper @@ -40,11 +40,8 @@ if test -f "$SLIM_BG_FILE"; then fi 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" - rm $SEARX_BG_FILE - cp $SEARX_BASEDIR$date.jpg $SEARX_BG_FILE -fi +echo "Setting Searx background image" +scp $BASEDIR/$date.jpg search.local:$SEARX_BG_FILE # Then grab our APOD image and store it for now #Change directory to where the script resides.