about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-08-21 21:55:17 +0200
committerManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-08-21 21:55:17 +0200
commit527773017d5703e17638c45e25ae8a56f95aa326 (patch)
tree46063d7ecf3be3990cea7c5650bdf3b652494ebb
parentFixed wrong option in xwinwrap (diff)
downloadsmart-wallpaper-527773017d5703e17638c45e25ae8a56f95aa326.tar.gz
smart-wallpaper-527773017d5703e17638c45e25ae8a56f95aa326.tar.bz2
smart-wallpaper-527773017d5703e17638c45e25ae8a56f95aa326.zip
Temporary fix for gifs not overlaying
-rwxr-xr-xsmart-wallpaper15
1 files changed, 9 insertions, 6 deletions
diff --git a/smart-wallpaper b/smart-wallpaper
index 33f976b..d7bd4e5 100755
--- a/smart-wallpaper
+++ b/smart-wallpaper
@@ -17,9 +17,10 @@ timebool=false
 procid=''
 
 cleanup() {
-  if [[ $procid != '' ]]; then
-    kill $procid
-  fi
+  #if [[ $procid != '' ]]; then
+  #  kill $procid
+  #fi
+  killall gifview
   xsetroot -solid black
 }
 
@@ -36,9 +37,11 @@ print_usage() {
 
 set_wallpaper() {
 
-  if [[ $procid != '' ]]; then
-    kill $procid
-  fi
+  #if [[ $procid != '' ]]; then
+  #  kill $procid
+  #fi
+
+  killall gifview
 
   if [ -f /usr/bin/xwinwrap ]; then
     if [ -f /usr/bin/gifview ] && [[ $1 == *".gif" ]]; then