yambar/doc
Daniel Eklöf 6c10eb2153
module/alsa: use channel’s dB range instead of raw volume, if available
For channels that have a defined dB range, use that instead of the raw
volume range when calculating the volume percent.

Also use the same logic as alsamixer when calculating the percent from
the dB values: assume a linear scale if the dB range is “small
enough”, and otherwise normalize it against a logarithmic scale.

With this, yambar’s “percent” value matches alsamixer’s exactly.

The ‘volume’ tag remains unchanged - it always reflects the raw volume
values.

Instead, we add a new tag ‘dB’, that reflects the dB values.

Closes #202
2022-06-21 19:49:06 +02:00
..
meson.build modules: creates disk-io-module 2022-06-17 12:04:13 -03:00
yambar-decorations.5.scd overline: new decoration 2022-02-10 20:49:09 +01:00
yambar-modules-alsa.5.scd module/alsa: use channel’s dB range instead of raw volume, if available 2022-06-21 19:49:06 +02:00
yambar-modules-backlight.5.scd doc: add empty line a the end of files 2021-02-23 16:25:29 +01:00
yambar-modules-battery.5.scd doc: battery: some batteries enter "unknown" under normal operation 2021-10-31 21:07:09 +01:00
yambar-modules-clock.5.scd clock: add a config option to show UTC time 2021-09-12 11:19:53 -07:00
yambar-modules-cpu.5.scd modules: add cpu module 2021-12-21 18:44:36 +01:00
yambar-modules-disk-io.5.scd modules: creates disk-io-module 2022-06-17 12:04:13 -03:00
yambar-modules-foreign-toplevel.5.scd Updated docs to comply with new map syntax 2022-04-23 17:13:24 -03:00
yambar-modules-i3.5.scd Updated docs to comply with new map syntax 2022-04-23 17:13:24 -03:00
yambar-modules-label.5.scd doc: add empty line a the end of files 2021-02-23 16:25:29 +01:00
yambar-modules-mem.5.scd modules: add mem module 2021-12-21 18:44:14 +01:00
yambar-modules-mpd.5.scd doc: add empty line a the end of files 2021-02-23 16:25:29 +01:00
yambar-modules-network.5.scd module/network: Add link stats 2022-06-06 15:11:24 +02:00
yambar-modules-removables.5.scd Updated docs to comply with new map syntax 2022-04-23 17:13:24 -03:00
yambar-modules-river.5.scd module/river: add support for the ‘mode’ event 2022-06-02 17:24:42 +02:00
yambar-modules-script.5.scd Updated docs to comply with new map syntax 2022-04-23 17:13:24 -03:00
yambar-modules-sway-xkb.5.scd doc: add empty line a the end of files 2021-02-23 16:25:29 +01:00
yambar-modules-sway.5.scd doc: add empty line a the end of files 2021-02-23 16:25:29 +01:00
yambar-modules-xkb.5.scd doc: add empty line a the end of files 2021-02-23 16:25:29 +01:00
yambar-modules-xwindow.5.scd doc: add empty line a the end of files 2021-02-23 16:25:29 +01:00
yambar-modules.5.scd Updated docs to comply with new map syntax 2022-04-23 17:13:24 -03:00
yambar-particles.5.scd doc: explain that order in map conditions matter 2022-04-24 15:47:53 -03:00
yambar-tags.5.scd doc: tags: fix divisors for kb/mb/gb and kib/mib/gib 2022-06-02 22:21:09 +02:00
yambar.1.scd main: add -d,--log-level=info|warning|error|none 2021-08-15 11:43:49 +02:00
yambar.5.scd config: add inheritable option “font-shaping” 2022-02-23 18:43:13 +01:00