From 7fb1ec08eb211c71491dce7fb5d92f54acfc8bf5 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Wed, 5 Feb 2020 19:33:12 -0500 Subject: [PATCH] Use cover insetad of sane with hsetroot --- bin/.bin/changepaper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/.bin/changepaper.sh b/bin/.bin/changepaper.sh index 3fbd8e4..95ec792 100755 --- a/bin/.bin/changepaper.sh +++ b/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,7 +19,7 @@ python3 ~/.bin/get_astrobin_potd.py date=$(date '+%Y-%m-%d') #set the current image as wallpaper -hsetroot -sane $BASEDIR/$date.jpg +hsetroot -cover $BASEDIR/$date.jpg #link slim background to new image rm /usr/share/slim/themes/default/background.jpg ln -s $BASEDIR/$date.jpg /usr/share/slim/themes/default/background.jpg