Browse Source

Fix output in changepaper script

Colin Powell 5 years ago
parent
commit
8cba796cf8
1 changed files with 2 additions and 4 deletions
  1. 2 4
      bin/.bin/changepaper.sh

+ 2 - 4
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"