From d270173f2279aee26854e972b51b3d12ca160f04 Mon Sep 17 00:00:00 2001 From: Martin Friedrich Date: Sat, 16 Feb 2019 20:33:47 +0100 Subject: [PATCH] make shellcheck more heppy --- kunst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/kunst b/kunst index d41638a..a0bfdb9 100755 --- a/kunst +++ b/kunst @@ -4,7 +4,8 @@ # ┴ ┴└─┘┘└┘└─┘ ┴ # Created by Siddharth Dushantha -VERSION=1.0 +# VERSION=1.0 + COVER=/tmp/kunst.jpg MUSIC_DIR=~/Music/ @@ -51,7 +52,7 @@ main() { # decode the base64 encoded image and save it # to /tmp/kunst.png - echo $MUSIC_NOTE | base64 --decode > $COVER + echo "$MUSIC_NOTE" | base64 --decode > $COVER fi echo "kunst: swapped album art to $(mpc current)" @@ -74,7 +75,7 @@ main() { # decode the base64 encoded image and save it # to /tmp/kunst.png - echo $MUSIC_NOTE | base64 --decode > $COVER + echo "$MUSIC_NOTE" | base64 --decode > $COVER fi echo "kunst: swapped album art to $(mpc current)"