commands.sh

wpctl

linux

Manage WirePlumber, a session and policy manager for PipeWire. Note: You can use the special name `@DEFAULT_SINK@` in place of `id` to operate on the default sink. See also: `pw-cli`.

More info →

Options (1)

-l, --limitboolean

Increase the volume of a sink by `n` percent but limit the volume below 100%

Example: wpctl set-volume {{[-l|--limit]}} 1 {{id}} {{n}}%-

Examples (8)

List all objects managed by WirePlumber

wpctl status

Print all properties of an object

wpctl inspect id

Set an object to be the default in its group

wpctl set-default id

Get the volume of a sink

wpctl get-volume id

Set the volume of a sink to `n` percent

wpctl set-volume id n%

Increase/Decrease the volume of a sink by `n` percent

wpctl set-volume id n%+|-

Increase the volume of a sink by `n` percent but limit the volume below 100%

wpctl set-volume [-l|--limit] 1 id n%-

Mute/Unmute the default audio sink or source (1 is mute, 0 is unmute)

wpctl set-mute @DEFAULT_SINK|SOURCE@ 1|0|toggle
made by @shridhargupta | data from tldr-pages