[bin] Add nyt script and clean up

This commit is contained in:
2020-11-19 08:46:34 -05:00
parent d2c3bb9014
commit 6411d260c6
7 changed files with 23 additions and 7 deletions

View File

@ -33,11 +33,9 @@ hsetroot -cover $BASEDIR/$date.jpg
#link slim background to new image
SLIM_BG_FILE=/usr/share/slim/themes/default/background.jpg
if test -f "$SLIM_BG_FILE"; then
echo "Setting Slim background image"
rm $SLIM_BG_FILE
ln -s $BASEDIR/$date.jpg $SLIM_BG_FILE
fi
echo "Setting Slim background image"
rm $SLIM_BG_FILE
cp $BASEDIR/$date.jpg $SLIM_BG_FILE
SEARX_BG_FILE=/usr/local/lib/python2.7/site-packages/searx/static/themes/courgette/img/bg-body-index.jpg
echo "Setting Searx background image"