sway: really fix dynamic pa sink

This commit is contained in:
Konstantin Koslowski 2020-12-23 00:30:30 +01:00
parent 01307d799a
commit 04fa8b33cb

View file

@ -1,5 +1,5 @@
#!/bin/bash
sink=$(pactl list sinks | grep -B 1 "State: RUNNING" | grep -oE '[0-9]*')
sink=$(pacmd list-sinks | grep "* index" | grep -oE '[0-9]*')
cmd=""
if [ -z "$sink" ]; then