summaryrefslogtreecommitdiff
path: root/.config/eww/cava.py
diff options
context:
space:
mode:
authorSam Nystrom <sam@samnystrom.dev>2026-01-12 21:42:08 -0500
committerSam Nystrom <sam@samnystrom.dev>2026-01-12 21:42:08 -0500
commit7c614992bb8f37c652d3770e68a690a45ec4402b (patch)
tree3c57cb55e0e4d9390a428e9c3ebb07b2a9b3cf5c /.config/eww/cava.py
parent23b11c67aa806462f7dcac464c05a190f7dd3d52 (diff)
update eww config
Diffstat (limited to '.config/eww/cava.py')
-rw-r--r--.config/eww/cava.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/eww/cava.py b/.config/eww/cava.py
new file mode 100644
index 0000000..a7b40b8
--- /dev/null
+++ b/.config/eww/cava.py
@@ -0,0 +1,5 @@
+#!/usr/bin/env python3
+import sys;
+for line in sys.stdin:
+ sys.stdout.write(''.join("▁▂▃▄▅▆▇█"[int(x)] for x in line.rstrip().split(";") if x) + '\n')
+ sys.stdout.flush()