Skip to content

wpctl: Add option to query audio volumes

Varnit Singh requested to merge EncryptedCicada/wireplumber:master into master

Hey! I found out that there was no easy way to query volumes of audio sinks and sources from the CLI tool so i tried to add an option to do that. The functionality seems to be working. It is helpful for people who want to use wpctl to getting volume levels from custom scripts like for people using WMs.

Demo:

Output for $ wpctl

Screenshot_2022-06-01-11-22-43_1920x1080

Output for $ wpctl get-volume Screenshot_2022-06-01-11-24-44_1920x1080

Edited by Varnit Singh

Merge request reports