fixed pywal

This commit is contained in:
thevinter 2021-06-03 21:23:58 +02:00
parent 18ee5a9081
commit 930833f176
3 changed files with 2 additions and 3 deletions

View File

@ -54,7 +54,6 @@ do
p) pywal=1;; p) pywal=1;;
esac esac
done done
feh=(feh) feh=(feh)
if [ ! -z $bgtype ]; then if [ ! -z $bgtype ]; then
if [ $bgtype == 'bg-center' ]; then if [ $bgtype == 'bg-center' ]; then
@ -83,7 +82,7 @@ then
reddit "$sub" reddit "$sub"
feh+=(wallpaper.jpg) feh+=(wallpaper.jpg)
"${feh[@]}" "${feh[@]}"
if [ pywal==1 ]; then if [ $pywal -eq 1 ]; then
wal -c wal -c
wal -i wallpaper.jpg -n wal -i wallpaper.jpg -n
fi fi
@ -100,7 +99,7 @@ else
wget -q -O wallpaper $link wget -q -O wallpaper $link
feh+=(wallpaper) feh+=(wallpaper)
"${feh[@]}" "${feh[@]}"
if [ pywal==1 ]; then if [ $pywal -eq 1 ]; then
wal -c wal -c
wal -i wallpaper -n wal -i wallpaper -n
fi fi

BIN
wallpaper Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

BIN
wallpaper.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 379 KiB