aboutsummaryrefslogtreecommitdiff
path: root/wmutils/bin/rainbow.sh
blob: 5bb91abd66da17745e03e2ebf3d9c1442263af89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
#
# z3bra - 2015 (c) wtfpl
# make the current window "rainbowish"... Awesome idea from xero@nixers.net !

FREQ=${FREQ:-0.1}
COLORS="888888 8064cc 6480cc 64cccc 80cc64 cccc64 cc6464"
CUR=$(pfw)

while :; do
    for c in $COLORS; do
        chwb -c $c $(pfw) 
        sleep $FREQ
    done
done