yambar/CHANGELOG.md
Daniel Eklöf be6e714eb0
module/alsa: handle ALSA device disappearing
With this patch, a non-existing ALSA device is no longer considered a
fatal error. Instead, we keep retrying until we succeed.

Furthermore, if we have successfully opened the ALSA device, and it
then disappears, we a) no longer crash, or cause 100% CPU usage, and
b) try to re-connect to the device.

With this, we now handle e.g. USB soundcards being disconnected and
then re-connected. We should also handle pseudo devices, like pipewire
provides ones, when yambar is started before pipewire.

Closes #59
Closes #61
Closes #86
2021-08-19 19:26:40 +02:00

5.3 KiB
Raw Blame History

Changelog

Unreleased

Added

Changed

  • bar: do not add spacing around empty (zero-width) modules.
  • alsa: do not error out if we fail to connect to the ALSA device, or if we get disconnected. Instead, keep retrying until we succeed (https://codeberg.org/dnkl/yambar/issues/86).

Deprecated

Removed

Fixed

  • yambar --backend=wayland always erroring out with ”yambar was compiled without the Wayland backend”.
  • Regression: {where} tag not being expanded in progress-bar on-click handlers.
  • alsa module causing yambar to use 100% CPU if the ALSA device is disconnected (https://codeberg.org/dnkl/yambar/issues/61).

Security

Contributors

1.6.2

Added

Changed

Fixed

Contributors

1.6.1

Changed

Fixed

  • mpd: elapsed tag not working (regression, introduced in 1.6.0).
  • Wrong background color for (semi-) transparent backgrounds.
  • battery: stats sometimes getting stuck at 0, or impossibly large values (https://codeberg.org/dnkl/yambar/issues/25).

1.6.0

Added

Fixed

Contributors

1.5.0

Added

  • battery: support for drivers that use charge_* (instead of energy_*) sys files.
  • removables: SD card support.
  • removables: new ignore property.
  • Wayland: multi-seat support.
  • Experimental: 'river': new module for the river Wayland compositor.

Changed

  • Requires fcft-2.2.x.
  • battery: a poll value of 0 disables polling.

Fixed

  • mpd: check of return value from thrd_create.
  • battery: handle 'manufacturer' and 'model_name' not being present.
  • Wayland: handle runtime scaling changes.