forked from streetturtle/awesome-wm-widgets
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pactl: Do not call pactl get-* commands
Older versions of pactl, like the one shipped by Debian Bullseye, do not provide the get-* commands, like get-sink-volume or get-sink-mute. Work around them by relying on `pactl list` and `pactl info` only. This commit increases code complexity significantly and reimplementing pactl-logic in lua impairs performance compared to a modern pactl, where this workaround would not be needed. Fixes issue streetturtle#390.
- Loading branch information
Showing
1 changed file
with
50 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters