diff options
author | Pavel Balaev <mail@void.so> | 2021-11-30 22:19:56 +0300 |
---|---|---|
committer | Pavel Balaev <mail@void.so> | 2021-11-30 23:27:26 +0300 |
commit | 9ab75297887edda588a188f161316e35c0aec18c (patch) | |
tree | 0fcaaae04a81615ee87dcf9c22648fd6089b7a8a /volume-widget/README.md | |
parent | d3d929dbba9e89a8ce2101b1e1b044a727264513 (diff) |
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.
Diffstat (limited to 'volume-widget/README.md')
-rw-r--r-- | volume-widget/README.md | 3 |
1 files changed, 2 insertions, 1 deletions
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: |