diff options
Diffstat (limited to '.config/eww/cava.py')
| -rw-r--r-- | .config/eww/cava.py | 5 |
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() |
