make shellcheck more heppy

This commit is contained in:
Martin Friedrich 2019-02-16 20:33:47 +01:00
parent 64fab9aa69
commit d270173f22
1 changed files with 4 additions and 3 deletions

7
kunst
View File

@ -4,7 +4,8 @@
# ┴ ┴└─┘┘└┘└─┘ ┴ # ┴ ┴└─┘┘└┘└─┘ ┴
# Created by Siddharth Dushantha # Created by Siddharth Dushantha
VERSION=1.0 # VERSION=1.0
COVER=/tmp/kunst.jpg COVER=/tmp/kunst.jpg
MUSIC_DIR=~/Music/ MUSIC_DIR=~/Music/
@ -51,7 +52,7 @@ main() {
# decode the base64 encoded image and save it # decode the base64 encoded image and save it
# to /tmp/kunst.png # to /tmp/kunst.png
echo $MUSIC_NOTE | base64 --decode > $COVER echo "$MUSIC_NOTE" | base64 --decode > $COVER
fi fi
echo "kunst: swapped album art to $(mpc current)" echo "kunst: swapped album art to $(mpc current)"
@ -74,7 +75,7 @@ main() {
# decode the base64 encoded image and save it # decode the base64 encoded image and save it
# to /tmp/kunst.png # to /tmp/kunst.png
echo $MUSIC_NOTE | base64 --decode > $COVER echo "$MUSIC_NOTE" | base64 --decode > $COVER
fi fi
echo "kunst: swapped album art to $(mpc current)" echo "kunst: swapped album art to $(mpc current)"