diff options
| author | iamcheeseman <[email protected]> | 2026-05-12 22:05:30 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-05-12 22:05:30 -0400 |
| commit | 3d67ce5f6c293b023aa3cd6d9dc720b1635b9ca7 (patch) | |
| tree | 8dd368b2606d5486f71198d743a336fb8746b484 /.local/bin/audio_vis.sh | |
| parent | 0b0ca928bba7bd45ef09e7068f85c96eefc6116b (diff) | |
switch back to dwm
Diffstat (limited to '.local/bin/audio_vis.sh')
| -rwxr-xr-x | .local/bin/audio_vis.sh | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/.local/bin/audio_vis.sh b/.local/bin/audio_vis.sh deleted file mode 100755 index 62bb76c..0000000 --- a/.local/bin/audio_vis.sh +++ /dev/null @@ -1,31 +0,0 @@ -#! /bin/bash - -# bar='_▁▂▃▄▅▆▇█#' -bar=".'-,~^*&#@" -dict='s/;//g;' - -# creating "dictionary" to replace char with bar -i=0 -while [ $i -lt ${#bar} ] -do - dict="${dict}s/$i/${bar:$i:1}/g;" - i=$((i=i+1)) -done - -# write cava config -config_file="/tmp/polybar_cava_config" -echo " -[general] -bars = 12 - -[output] -method = raw -raw_target = /dev/stdout -data_format = ascii -ascii_max_range = 6 -" > $config_file - -# read stdout from cava -cava -p $config_file | while read -r line; do - echo $line | sed $dict -done |
