Skip to content

Show sound volume in decibels #1886

@matj1

Description

@matj1

I'd like to see sound volume in the module pulseaudio in decibels but on the wiki page for the module pulseaudio, there is shown only that an available token for displaying volume is %percentage% and I don't know if that's all or there are others.

I can get the volume in decibels by parsing the output of pactl list sinks where is a line containing

Hlasitost: front-left: 32967 /  50% / -17,90 dB,   front-right: 32967 /  50% / -17,90 dB

among many other lines and it's quite hard to parse.

I'd like to have a token like %decibels% in the label-volume format string that makes it show the volume in decibels.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions