SwayAudioIdleInhibit icon indicating copy to clipboard operation
SwayAudioIdleInhibit copied to clipboard

Cava module in Waybar with PipeWire does not have `application.name`, thus cannot be ignored.

Open OriginCode opened this issue 1 month ago • 0 comments

pactl list source-outputs:

Source Output #805
        Driver: PipeWire
        Owner Module: n/a
        Client: 804
        Source: 87
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Format: pcm, format.sample_format = "\"s16le\""  format.rate = "44100"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
        Corked: no
        Mute: no
        Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        Buffer Latency: 0 usec
        Source Latency: 0 usec
        Resample method: PipeWire
        Properties:
                media.type = "Audio"
                media.category = "Capture"
                media.role = "music"
                target.object = "auto"
                stream.capture.sink = "true"
                node.latency = "441/44100"
                media.name = "cava"
                stream.is-live = "true"
                node.name = "cava"
                node.want-driver = "true"
                node.autoconnect = "true"
                media.class = "Stream/Input/Audio"
                adapt.follower.spa-node = ""
                object.register = "false"
                factory.id = "7"
                clock.quantum-limit = "8192"
                factory.mode = "merge"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                client.id = "78"
                object.id = "79"
                object.serial = "805"
                module-stream-restore.id = "source-output-by-media-role:music"

The program currently only matches ignoreSourceOutputs against the application.name.

OriginCode avatar May 17 '24 02:05 OriginCode