From ef51da1b3f9a13e5b976fa943ffe7b67b91ad3e1 Mon Sep 17 00:00:00 2001 From: Manuel Palenzuela Date: Tue, 6 Aug 2019 12:22:33 +0200 Subject: Fixed [] expansion --- smart-wallpaper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smart-wallpaper b/smart-wallpaper index c76228d..8ad06ac 100755 --- a/smart-wallpaper +++ b/smart-wallpaper @@ -56,7 +56,7 @@ set_wallpaper() { if [ -f /usr/bin/gifview ] && [[ $1 == *".gif" ]]; then gifsicle --resize $resolution $1 | gifview --animate -w root & procid=$! - elif [ -f /usr/bin/mpv] && [[ $1 == *".mp4" ]] || [[ $1 == *".mov" ]] || [[ $1 == *".avi" ]] || [[ $1 == *".wav" ]]; then + elif [ -f /usr/bin/mpv ] && [[ $1 == *".mp4" ]] || [[ $1 == *".mov" ]] || [[ $1 == *".avi" ]] || [[ $1 == *".wav" ]]; then mpv --fullscreen --on-all-workspaces --no-config --no-input-default-bindings --no-stop-screensaver --loop-file --no-audio --no-osc --no-osd-bar -wid 0 --quiet $1 & procid=$! else -- cgit 1.4.1