Maybe I should use the correct command...

This commit is contained in:
David Thurstenson 2017-02-17 08:16:07 -06:00
parent 1698c53089
commit 50f4e5897a
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ maptouchscreen() {
setpasink() {
# setpasink <name>
# Find a unique string in the output of `pacmd list short` to use for <name>
pacmd set-default-sink $(pacmd list short | grep "$1" | grep -o "^\S\+")
pacmd set-default-sink $(pactl list sinks short | grep "$1" | grep -o "^\S\+")
}
case "$(hostname)" in