List app playback streams for per-app volume and drop device lists

Quickshell marks playback streams as sinks, so the mixer showed
recording streams instead of players. Right-clicking Sound now shows
only the app sliders; Microphone no longer extends.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mxandClaude Opus 5.5 committed 2026-10-17 21:40:57 +02:00
1 parent 11bdc4c751
commit 72a21c9363
7 files changed
+29 -77

No files matched your search

+1
View File
@@ -44,6 +44,7 @@ with tempfile.TemporaryDirectory(prefix='glassmxrph-controls-') as tmp:
# Per-app volume: right click extends Sound with the app streams.
assert ipc('controlTest','rightClick','outputTile');wait(lambda:state()['extras'].get('output',0)>0,'Sound extends')
time.sleep(.4)
assert state()['streams']==['Fixture player'],'only playback streams are listed: '+str(state()['streams'])
t=next(i for i in state()['tiles'] if i['id']=='input');assert t['row']>0
assert ipc('controlTest','slider','appSlider-Fixture player');wait(lambda:state()['streamVolume']>.6,'app volume slider')
assert ipc('controlTest','click','appMute-Fixture player');wait(lambda:state()['streamMuted'],'app mute')