diff --git a/kunst b/kunst index 9d0a8f4..1ca4676 100755 --- a/kunst +++ b/kunst @@ -4,12 +4,12 @@ # ┴ ┴└─┘┘└┘└─┘ ┴ # Created by Siddharth Dushantha # -# Dependencies: sxiv, imagemagick, bash, ffmpeg, mpc, jq, mpd +# Dependencies: nsxiv, imagemagick, bash, ffmpeg, mpc, jq, mpd VERSION=1.3.4 COVER=/tmp/kunst.jpg -MUSIC_DIR="${KUNST_MUSIC_DIR:-~/Music}" +MUSIC_DIR="${KUNST_MUSIC_DIR:-"$HOME/mus/music/"}" SIZE="${KUNST_SIZE:-250x250}" POSITION="${KUNST_POSITION:-+0+0}" ONLINE_ALBUM_ART="" @@ -206,7 +206,7 @@ pre_exit() { main() { - dependencies=(sxiv convert bash ffmpeg mpc jq mpd) + dependencies=(nsxiv convert bash ffmpeg mpc jq mpd) for dependency in "${dependencies[@]}"; do type -p "$dependency" &>/dev/null || { logError "could not find '${dependency}', is it installed?" @@ -235,7 +235,7 @@ main() { FIRST_RUN=false # Display the album art using sxiv - sxiv -g "$SIZE$POSITION" -b "$COVER" -N "Kunst" & + nsxiv -g "$SIZE$POSITION" -b "$COVER" -N "Kunst" & # Save the process ID so that we can kill # sxiv when the user exits the script