sway: really fix dynamic pa sink
This commit is contained in:
parent
01307d799a
commit
04fa8b33cb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue