diff options
Diffstat (limited to 'config')
| -rwxr-xr-x | config/hypr/scripts/WaybarCava.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/hypr/scripts/WaybarCava.sh b/config/hypr/scripts/WaybarCava.sh index 77fce82a..711f4c62 100755 --- a/config/hypr/scripts/WaybarCava.sh +++ b/config/hypr/scripts/WaybarCava.sh @@ -28,5 +28,8 @@ data_format = ascii ascii_max_range = 7 EOF +# Kill cava if it's already running +pkill -f "cava -p $config_file" + # Read stdout from cava and perform substitution in a single sed command cava -p "$config_file" | sed -u "$dict" |
