diff options
Diffstat (limited to '')
-rwxr-xr-x | wmutils/bin/pulse | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/wmutils/bin/pulse b/wmutils/bin/pulse new file mode 100755 index 0000000..156c044 --- /dev/null +++ b/wmutils/bin/pulse @@ -0,0 +1,26 @@ +#!/bin/sh +# ██ +# ██████ ░██ +#░██░░░██ ██ ██ ░██ ██████ █████ +#░██ ░██░██ ░██ ░██ ██░░░░ ██░░░██ +#░██████ ░██ ░██ ░██░░█████ ░███████ +#░██░░░ ░██ ░██ ░██ ░░░░░██░██░░░░ +#░██ ░░██████ ███ ██████ ░░██████ +#░░ ░░░░░░ ░░░ ░░░░░░ ░░░░░░ +# +FREQ=${FREQ:-0.05} +FILE=$BOOTSTRAP/colors +COLORS=$(tac < $FILE | cat - $FILE | tr -d '#') + +while :; do + for c in $COLORS + do + CUR=$(pfw) + test "`wattr wh $CUR`" != "`wattr wh $(lsw -r)`" && chwb -c $c $CUR + for WIN in `lsw` + do + test "$WIN" != "$CUR" && chwb -c 0x222222 $WIN + done + sleep $FREQ + done +done |