diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-06-29 19:09:19 +0200 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-06-29 19:09:19 +0200 |
commit | d9b11f6dc663386738635e4f36bf7d2efc4fb70a (patch) | |
tree | a8994234c874f6ee4523d8dac29d82c4b4ec0884 | |
parent | Added gif support (diff) | |
download | smart-wallpaper-d9b11f6dc663386738635e4f36bf7d2efc4fb70a.tar.gz smart-wallpaper-d9b11f6dc663386738635e4f36bf7d2efc4fb70a.tar.bz2 smart-wallpaper-d9b11f6dc663386738635e4f36bf7d2efc4fb70a.zip |
Added check for gifview command
-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 |