You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can not help with polybar or your own custom modules. You said it worked before, go back and figure out when it stopped working, find what commit (if any) that broke it.
@Drakslab possibly try re-installing sdl3
My arch somehow got the wrong version of this and it caused cava to not launch due to SDL_StretchSurface missing from sdl3.
I just installed a new Arch Linux just to test if the failure was my fault or a bug.
I use polybar and have a custom module for cava which has always work perfectly without having to mess with cava's configuration file.
For the last couple of weeks, cava is not working properly.
I use PulseAudio and unless I use the
method = pulse
, doesn't work.But my cava custom module on polybar doesn't work no matter what I do.
This is the cava.sh file:
#! /bin/bash 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 = 10 [output] method = raw raw_target = /dev/stdout data_format = ascii ascii_max_range = 7 " > $config_file #read stdout from cava cava -p $config_file | while read -r line; do echo $line | sed $dict done
This is the custom module:
[module/cava] type = custom/script tail = true exec = $HOME/.config/polybar/cava.sh format = <label> format-font = 5 label = %output%
The text was updated successfully, but these errors were encountered: