mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
wpctl: add page (#10574)
* wpctl: add page --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
parent
9eb6eca2fc
commit
17deca343c
1 changed files with 33 additions and 0 deletions
33
pages/linux/wpctl.md
Normal file
33
pages/linux/wpctl.md
Normal file
|
@ -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: <https://pipewire.pages.freedesktop.org/wireplumber/>.
|
||||||
|
|
||||||
|
- 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}}`
|
Loading…
Add table
Reference in a new issue