You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pactl has no way to set limits on the max volume, and so neither does this widget - calling volume:inc(5) repeatedly will bring the set volume above 100%.
A simple workaround is to use pamixer instead of pactl to set the volume, since it does check the max and avoids going above 100%. Since update_graphic() isn't accessible outside of worker() it's unfortunately not possible to roll your own update without changing the implementation of pactl-widget, though the widget will pick up the update after the refresh period.
The text was updated successfully, but these errors were encountered:
pactl has no way to set limits on the max volume, and so neither does this widget - calling volume:inc(5) repeatedly will bring the set volume above 100%.
A simple workaround is to use pamixer instead of pactl to set the volume, since it does check the max and avoids going above 100%. Since
update_graphic()
isn't accessible outside ofworker()
it's unfortunately not possible to roll your own update without changing the implementation of pactl-widget, though the widget will pick up the update after the refresh period.The text was updated successfully, but these errors were encountered: