diff options
-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 |