diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-08-21 21:55:17 +0200 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-08-21 21:55:17 +0200 |
commit | 527773017d5703e17638c45e25ae8a56f95aa326 (patch) | |
tree | 46063d7ecf3be3990cea7c5650bdf3b652494ebb | |
parent | Fixed wrong option in xwinwrap (diff) | |
download | smart-wallpaper-527773017d5703e17638c45e25ae8a56f95aa326.tar.gz smart-wallpaper-527773017d5703e17638c45e25ae8a56f95aa326.tar.bz2 smart-wallpaper-527773017d5703e17638c45e25ae8a56f95aa326.zip |
Temporary fix for gifs not overlaying
-rwxr-xr-x | smart-wallpaper | 15 |
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 |