Fix background settings and update unsplash
This commit is contained in:
@ -10,7 +10,7 @@ export DISPLAY=:0.0
|
||||
export XAUTHORITY=/home/powellc/.Xauthority
|
||||
|
||||
# Choices: astrobin,natgeo,nasa,unsplash
|
||||
BASEDIR="$HOME/var/backgrounds/unsplash/"
|
||||
BASEDIR="$HOME/var/backgrounds/bing/"
|
||||
SEARX_BASEDIR="$HOME/var/backgrounds/natgeo/"
|
||||
|
||||
# Get daily NatGeo POTD
|
||||
|
||||
@ -15,7 +15,7 @@ if os.path.isfile(target_path):
|
||||
exit()
|
||||
|
||||
root = "https://source.unsplash.com"
|
||||
iotd_uri = f"{root}/random/daily"
|
||||
iotd_uri = f"{root}/random"
|
||||
img = requests.get(iotd_uri, stream=True)
|
||||
|
||||
handle = open(target_path, "wb")
|
||||
|
||||
Reference in New Issue
Block a user