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