Browse Source

Merge pull request #132 from momcilovicluka/development

fix(waybar): fix cava creating multiple instances
pull/133/head
Ja.KooLit 2 years ago committed by GitHub
parent
commit
cec16f1216
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      config/hypr/scripts/WaybarCava.sh

3
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"

Loading…
Cancel
Save