feat(audio-switcher): support grouped outputs (#163)

This commit is contained in:
blacku
2026-07-30 21:32:18 -04:00
committed by GitHub
parent 04f05125d9
commit aea6327c06
7 changed files with 570 additions and 73 deletions
+2
View File
@@ -14,6 +14,7 @@ local decoded = {
INFO = {
default_sink_name = "sink.main",
default_source_name = "source.main",
server_name = "PulseAudio (on PipeWire 1.6.8)",
},
SINKS_UNMUTED = {
{
@@ -106,6 +107,7 @@ assert(load(serviceSource, "@service.luau"))()
assert(type(streamCallback) == "function", "pactl subscription was not started")
complete("'info'", "INFO")
complete("'list' 'short' 'modules'", "")
complete("'list' 'sinks'", "SINKS_UNMUTED")
complete("'list' 'sources'", "SOURCES_UNMUTED")