make shellcheck more heppy
This commit is contained in:
parent
64fab9aa69
commit
d270173f22
7
kunst
7
kunst
|
@ -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)"
|
||||||
|
|
Loading…
Reference in New Issue