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
The evil/volume.lua script is made with only PulseAudio in mind. To allow it to work with pipe wire, I have found that this manual intervention of the code brings back the volume reporting function. It works even when multiple PipeWire sinks exist (unlike the manual intervention recommended by #149:
In evil/volume.lua remove:
awful.spawn.easy_async_with_shell("pacmd list-sinks | awk '/\\* index: /{nr[NR+7];nr[NR+11]}; NR in nr'", function(stdout)
And replace it with:
awful.spawn.easy_async_with_shell("pactl list sinks | tail -n $(pactl list sinks | awk '/RUNNING/{print NR+1}')", function(stdout)
I suggest that this manual intervention be added to the wiki or that the code is changed to accommodate PipeWire systems.
The text was updated successfully, but these errors were encountered:
Hi,
The
evil/volume.lua
script is made with only PulseAudio in mind. To allow it to work with pipe wire, I have found that this manual intervention of the code brings back the volume reporting function. It works even when multiple PipeWire sinks exist (unlike the manual intervention recommended by #149:In
evil/volume.lua
remove:And replace it with:
I suggest that this manual intervention be added to the wiki or that the code is changed to accommodate PipeWire systems.
The text was updated successfully, but these errors were encountered: