about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xsmart-wallpaper2
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