scripts

random scripts
git clone https://git.parazyd.org/scripts
Log | Files | Refs

rainbow (301B)


      1 #!/bin/sh
      2 #
      3 # z3bra - 2015 (c) wtfpl
      4 # make the current window "rainbowish"... Awesome idea from xero@nixers.net !
      5 
      6 FREQ=${FREQ:-0.1}
      7 COLORS="888888 8064cc 6480cc 64cccc 80cc64 cccc64 cc6464"
      8 CUR=$(pfw)
      9 
     10 while :; do
     11     for c in $COLORS; do
     12         chwb -c $c $(pfw)
     13         sleep $FREQ
     14     done
     15 done