X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=audio%2Fpa-speaker;h=fbfb7e36dd68703847e491697c6b5716ba8667c8;hb=5d1739a2f680e053827568c8e024efd1d8bb7995;hp=bc8b7b9d7cedd2bcd6b9a9ff7e037b242d0d694b;hpb=6c49eb3eb2c236f0e8e711eec72b32d01d629050;p=audio-cdr-video.git diff --git a/audio/pa-speaker b/audio/pa-speaker index bc8b7b9..fbfb7e3 100755 --- a/audio/pa-speaker +++ b/audio/pa-speaker @@ -1,8 +1,8 @@ #! /bin/sh -default_sink=`cat "$HOME"/.pulse/default` +default_sink=`pactl list sinks | awk '/Name:/ {print $2; exit}'` -"$HOME"/lib/audio/pa-kill +"`dirname \"$0\"`"/pa-kill sleep 1 pulseaudio -D && echo "\