aboutsummaryrefslogtreecommitdiff
path: root/wmutils/bin/pulse
diff options
context:
space:
mode:
Diffstat (limited to 'wmutils/bin/pulse')
-rwxr-xr-xwmutils/bin/pulse26
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