tpulsar - scripts - various script and utils
(HTM) git clone git://z3bra.org/scripts
(DIR) Log
(DIR) Files
(DIR) Refs
---
tpulsar (271B)
---
1 #!/bin/sh
2
3 FREQ=${FREQ:-0.05}
4
5 while :; do
6 COLORS=$(tac < ~/.colors | cat - ~/.colors | tr -d '#')
7 for c in $COLORS; do
8 CUR=$(pfw)
9 wattr $CUR && test "`wattr wh $CUR`" != "`wattr wh $(lsw -r)`" && chwb -c $c $CUR
10 sleep $FREQ
11 done
12 done