Fix output in changepaper script

This commit is contained in:
Colin Powell
2020-02-06 13:30:17 -05:00
parent c9452242de
commit 8cba796cf8

View File

@ -10,7 +10,7 @@ export DISPLAY=:0.0
export XAUTHORITY=/home/powellc/.Xauthority
# Choices: astrobin,natgeo,nasa
BASEDIR="$HOME/var/backgrounds/natgeo/"
BASEDIR="$HOME/var/backgrounds/astrobin/"
# Get daily NatGeo POTD
python3 ~/.bin/get_natgeo_potd.py
@ -19,6 +19,7 @@ python3 ~/.bin/get_astrobin_potd.py
date=$(date '+%Y-%m-%d')
#set the current image as wallpaper
echo "Setting desktop background"
hsetroot -cover $BASEDIR/$date.jpg
#link slim background to new image
@ -36,9 +37,6 @@ if test -f "$SEARX_BG_FILE"; then
ln -s $BASEDIR/$date.jpg $SEARX_BG_FILE
fi
echo "Background and slim wallpaper set using Astrobin PotD"
# Then grab our APOD image and store it for now
#Change directory to where the script resides.
#BASEDIR="$HOME/var/inbox/apod_photos"