diff --git a/bin/.bin/changepaper.sh b/bin/.bin/changepaper.sh index 1134f81..55eae0a 100755 --- a/bin/.bin/changepaper.sh +++ b/bin/.bin/changepaper.sh @@ -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"