diff options
-rwxr-xr-x | smart-wallpaper | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smart-wallpaper b/smart-wallpaper index 273d722..5b2bdc5 100755 --- a/smart-wallpaper +++ b/smart-wallpaper @@ -16,7 +16,7 @@ print_usage() { } set_wallpaper() { - if [[ $1 == *".gif" ]]; then + if [[ $1 == *".gif" ]] && [ -f /usr/bin/gifview ]; then gifview --animate -w root $1 else feh --bg-fill $1 |