lain
lain copied to clipboard
Redundancy in alsabar and pulsebar widgets
It would be better to have a single widget, named bar, which can be feed with volume data from either ALSA or PulseAudio.
Before knocking this out and sending you a PR, what do you think of this approach:
- create a new widget
volumebarto encompass common functionality and have an argument to switch between alsa and pulse - modify
alsabarandpulsebarto wrap thevolumebarwidget to preserve backwards compatibility - somehow deprecate
alsabar/pulsebarin the wiki or logging a deprecation warning
:+1: :-1: ?
Sounds good.