From 17deca343cd9615c97d25ad8e143ce2a809a1fbb Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 3 Aug 2023 03:45:59 +0300 Subject: [PATCH] wpctl: add page (#10574) * wpctl: add page --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/linux/wpctl.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pages/linux/wpctl.md diff --git a/pages/linux/wpctl.md b/pages/linux/wpctl.md new file mode 100644 index 000000000..53a979e16 --- /dev/null +++ b/pages/linux/wpctl.md @@ -0,0 +1,33 @@ +# wpctl + +> 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. +> More information: . + +- 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}}%{{+|-}}` + +- Mute/Unmute a sink (1 is mute, 0 is unmute): + +`wpctl set-mute {{id}} {{1|0|toggle}}`