Waybar icon indicating copy to clipboard operation
Waybar copied to clipboard

cava shows ";;"

Open raffaem opened this issue 6 months ago • 12 comments

I compiled waybar from git using the instructions here.

In my config I have:

  "cava": {
//        "cava_config": "$XDG_CONFIG_HOME/cava/cava.conf",
        "framerate": 30,
        "autosens": 1,
        "sensitivity": 100,
        "bars": 14,
        "lower_cutoff_freq": 50,
        "higher_cutoff_freq": 10000,
        "method": "pipewire",
        "source": "auto",
        "stereo": true,
        "reverse": false,
        "bar_delimiter": 0,
        "monstercat": false,
        "waves": false,
        "noise_reduction": 0.77,
        "input_delay": 2,
        "format-icons" : ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█" ],
        "actions": {
                   "on-click-right": "mode"
                   }
    }

But the cava module is shown as ";;":

Logs:

❯ ./build/waybar
[2024-01-04 08:48:10.903] [info] Using configuration file /home/raffaele/.config/waybar/config
[2024-01-04 08:48:10.905] [info] Unable to receive desktop appearance: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object
 at path /org/freedesktop/portal/desktop
[2024-01-04 08:48:10.905] [info] Using CSS file /home/raffaele/.config/waybar/style.css
[2024-01-04 08:48:11.450] [warning] Mapping is not an object
[2024-01-04 08:48:11.450] [info] Hyprland IPC starting
[2024-01-04 08:48:11.452] [warning] Waybar has been built without rfkill support.
[2024-01-04 08:48:11.592] [info] Bar configured (width: 1920, height: 32) for output: eDP-1

** (waybar:114759): WARNING **: 08:48:11.595: Status Notifier Item with bus name ':1.32' and object path '/org/ayatana/NotificationItem/nm_applet' is already registered

(waybar:114759): Gtk-CRITICAL **: 08:48:11.609: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(waybar:114759): Gtk-CRITICAL **: 08:48:11.609: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(waybar:114759): Gtk-CRITICAL **: 08:48:11.609: gtk_widget_set_accel_path: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

(waybar:114759): Gtk-CRITICAL **: 08:48:11.609: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
Call failed: Connection timed out
Error calling StartServiceByName for org.freedesktop.Notifications: Timeout was reached

I've also tried build and installed subprojects/cava-0.9.1/. Same results.

Not a duplicate of #2781 as that seems to be cause by waybar compiled without the cava module altogether.

I've also tried the following config:

  "cava": {
        "cava_config": "/home/raffaele/.config/cava/config"
  }

raffaem avatar Jan 04 '24 08:01 raffaem