From 9ab75297887edda588a188f161316e35c0aec18c Mon Sep 17 00:00:00 2001 From: Pavel Balaev Date: Tue, 30 Nov 2021 22:19:56 +0300 Subject: volume-widget: add device parameter By default this widget uses pulse audio device. To make this widget works ALSA users have to install third-party utils. This patch adds ability to select device name for audio control. --- volume-widget/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'volume-widget/README.md') diff --git a/volume-widget/README.md b/volume-widget/README.md index 368f311..c74d293 100644 --- a/volume-widget/README.md +++ b/volume-widget/README.md @@ -36,7 +36,7 @@ s.mytasklist, -- Middle widget }, ``` -Note that widget uses following command the get the current volume: `amixer -D pulse sget Master`, so please make sure that it works for you, otherwise you need to install `pulseaudio-alsa` package. +Note that widget uses following command the get the current volume: `amixer -D pulse sget Master`, so please make sure that it works for you, otherwise you need to set parameter `device = 'default'`. ### Shortcuts @@ -59,6 +59,7 @@ It is possible to customize the widget by providing a table with all or some of | `mixer_cmd` | `pavucontrol` | command to run on middle click (e.g. a mixer program) | | `step` | `5` | How much the volume is raised or lowered at once (in %) | | `widget_type`| `icon_and_text`| Widget type, one of `horizontal_bar`, `vertical_bar`, `icon`, `icon_and_text`, `arc` | +| `device` | `pulse` | Select the device name to control | Depending on the chosen widget type add parameters from the corresponding section below: -- cgit v1.2.3