From c390d3ce4fd5ca367435c7b0a14c63b7dd7fee2f Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Mon, 26 Oct 2026 16:55:15 +0200 Subject: [PATCH] wpctl: add listing example (#24857) * Update wpctl.md * Update pages/linux/wpctl.md * Update pages/linux/wpctl.md Co-authored-by: pixie --------- Co-authored-by: pixie --- pages/linux/wpctl.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/linux/wpctl.md b/pages/linux/wpctl.md index c93414113c..d6b0bd97d4 100644 --- a/pages/linux/wpctl.md +++ b/pages/linux/wpctl.md @@ -21,13 +21,13 @@ `wpctl get-volume {{sink_id}}` -- Set the volume of a sink to `n` percent: +- Set the volume of a sink to `n` percent or increase or decrease it by `n`: -`wpctl set-volume {{sink_id}} {{n}}%` +`wpctl set-volume {{sink_id}} {{n%|n%+|n%-}}` -- Increase/Decrease the volume of a sink by `n` percent: +- Filter objects by type: -`wpctl set-volume {{sink_id}} {{n}}%{{+|-}}` +`wpctl list {{audio|video}} {{devices|sinks|sources}}` - Increase the volume of a sink by `n` percent but limit the volume below 100%: