From 527773017d5703e17638c45e25ae8a56f95aa326 Mon Sep 17 00:00:00 2001 From: Manuel Palenzuela Date: Wed, 21 Aug 2019 21:55:17 +0200 Subject: Temporary fix for gifs not overlaying --- smart-wallpaper | 15 +++++++++------ 1 file 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 -- cgit 1.4.1