Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F57022015
pa-movesinks.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
280 B
Referenced Files
None
Subscribers
None
pa-movesinks.sh
View Options
#!/bin/sh
if
[
$#
-eq
0
]
then
echo
"Usage:
$(
basename
"
$0
"
)
<new default sink>"
exit
64
fi
SINK
=
$1
pacmd
set-default-sink
"
$SINK
"
pacmd
list-sink-inputs
|
grep
index
|
while
read
-r
line
do
pacmd
move-sink-input
"
$(
echo
"
$line
"
|
cut
-f2
-d
' '
)
"
"
$SINK
"
done
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sun, Nov 15, 02:09 (5 d, 1 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4248671
Default Alt Text
pa-movesinks.sh (280 B)
Attached To
Mode
rWK Wynter Kitro utilities
Attached
Detach File
Event Timeline
Log In to Comment