Add parameters to changepaper.sh script
This commit is contained in:
@ -9,9 +9,15 @@
|
|||||||
export DISPLAY=:0.0
|
export DISPLAY=:0.0
|
||||||
export XAUTHORITY=/home/powellc/.Xauthority
|
export XAUTHORITY=/home/powellc/.Xauthority
|
||||||
|
|
||||||
# Choices: astrobin,natgeo,nasa,unsplash
|
if [ -n "$1" ]; then
|
||||||
BASEDIR="$HOME/var/backgrounds/bing/"
|
SOURCE=$1
|
||||||
SEARX_BASEDIR="$HOME/var/backgrounds/natgeo/"
|
else
|
||||||
|
SOURCE='astrobin'
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Choices: astrobin,natgeo,nasa,unsplash,bing
|
||||||
|
BASEDIR="$HOME/var/backgrounds/$SOURCE/"
|
||||||
|
SEARX_BASEDIR="$HOME/var/backgrounds/bing/"
|
||||||
|
|
||||||
# Get daily NatGeo POTD
|
# Get daily NatGeo POTD
|
||||||
python3 ~/.bin/get_natgeo_potd.py
|
python3 ~/.bin/get_natgeo_potd.py
|
||||||
|
|||||||
Reference in New Issue
Block a user