wok diff xsnow/stuff/xsnow.sh @ rev 25253

updated pyvim (2.0.24 -> 3.0.2)
author Hans-G?nter Theisgen
date Thu Jul 14 07:49:44 2022 +0100 (2022-07-14)
parents 36d70656dfc2
children
line diff
     1.1 --- a/xsnow/stuff/xsnow.sh	Fri Mar 25 21:32:05 2016 +0100
     1.2 +++ b/xsnow/stuff/xsnow.sh	Thu Jul 14 07:49:44 2022 +0100
     1.3 @@ -36,18 +36,18 @@
     1.4  winsd scrsd off trees santa rud winsn scrsn popupsn duration dummy<<EOT
     1.5  $settings
     1.6  EOT
     1.7 -[ $back == FALSE ] && back=''
     1.8 +[ $back = FALSE ] && back=''
     1.9  flags=''
    1.10 -[ $smooth == FALSE ] && flags=$flags" -unsmooth"
    1.11 -[ $wind == FALSE ] && flags=$flags" -nowind"
    1.12 -[ $trees == FALSE ] && flags=$flags" -notrees"
    1.13 -[ $santa == FALSE ] && flags=$flags" -nosanta"
    1.14 -[ $rud == FALSE ] && flags=$flags" -norudolf"
    1.15 -if [ $winsn == FALSE -a $scrsn == FALSE ]; then flags=$flags" -nokeepsnow"
    1.16 -elif [ $winsn == FALSE ]; then flags=$flags" -nokeepsnowonwindows"
    1.17 -elif [ $scrsn == FALSE ]; then flags=$flags" -nokeepsnowonscreen"
    1.18 +[ $smooth = FALSE ] && flags=$flags" -unsmooth"
    1.19 +[ $wind = FALSE ] && flags=$flags" -nowind"
    1.20 +[ $trees = FALSE ] && flags=$flags" -notrees"
    1.21 +[ $santa = FALSE ] && flags=$flags" -nosanta"
    1.22 +[ $rud = FALSE ] && flags=$flags" -norudolf"
    1.23 +if [ $winsn = FALSE -a $scrsn = FALSE ]; then flags=$flags" -nokeepsnow"
    1.24 +elif [ $winsn = FALSE ]; then flags=$flags" -nokeepsnowonwindows"
    1.25 +elif [ $scrsn = FALSE ]; then flags=$flags" -nokeepsnowonscreen"
    1.26  fi
    1.27 -[ $popupsn == TRUE ] && flags=$flags" -nonopopup"
    1.28 +[ $popupsn = TRUE ] && flags=$flags" -nonopopup"
    1.29  xsnow -snowflakes ${sf%.*} -sc "$sc" ${back:+-solidbg -bg "$bc"} -tc "$tc" \
    1.30  	-santa ${ssiz%.*} -santaspeed ${ssp%.*} -santaupdatefactor ${suf%.*} \
    1.31  	-delay ${delay%.*} -whirl ${wf%.*} -xspeed ${xs%.*} -yspeed ${ys%.*} \