Maybe I should use the correct command...
This commit is contained in:
parent
1698c53089
commit
50f4e5897a
|
@ -10,7 +10,7 @@ maptouchscreen() {
|
||||||
setpasink() {
|
setpasink() {
|
||||||
# setpasink <name>
|
# setpasink <name>
|
||||||
# Find a unique string in the output of `pacmd list short` to use for <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
|
case "$(hostname)" in
|
||||||
|
|
Loading…
Reference in New Issue