Fix output in changepaper script
This commit is contained in:
@ -10,7 +10,7 @@ export DISPLAY=:0.0
|
|||||||
export XAUTHORITY=/home/powellc/.Xauthority
|
export XAUTHORITY=/home/powellc/.Xauthority
|
||||||
|
|
||||||
# Choices: astrobin,natgeo,nasa
|
# Choices: astrobin,natgeo,nasa
|
||||||
BASEDIR="$HOME/var/backgrounds/natgeo/"
|
BASEDIR="$HOME/var/backgrounds/astrobin/"
|
||||||
|
|
||||||
# Get daily NatGeo POTD
|
# Get daily NatGeo POTD
|
||||||
python3 ~/.bin/get_natgeo_potd.py
|
python3 ~/.bin/get_natgeo_potd.py
|
||||||
@ -19,6 +19,7 @@ python3 ~/.bin/get_astrobin_potd.py
|
|||||||
date=$(date '+%Y-%m-%d')
|
date=$(date '+%Y-%m-%d')
|
||||||
|
|
||||||
#set the current image as wallpaper
|
#set the current image as wallpaper
|
||||||
|
echo "Setting desktop background"
|
||||||
hsetroot -cover $BASEDIR/$date.jpg
|
hsetroot -cover $BASEDIR/$date.jpg
|
||||||
|
|
||||||
#link slim background to new image
|
#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
|
ln -s $BASEDIR/$date.jpg $SEARX_BG_FILE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Background and slim wallpaper set using Astrobin PotD"
|
|
||||||
|
|
||||||
|
|
||||||
# Then grab our APOD image and store it for now
|
# Then grab our APOD image and store it for now
|
||||||
#Change directory to where the script resides.
|
#Change directory to where the script resides.
|
||||||
#BASEDIR="$HOME/var/inbox/apod_photos"
|
#BASEDIR="$HOME/var/inbox/apod_photos"
|
||||||
|
|||||||
Reference in New Issue
Block a user