diff --git a/.local/bin/record b/.local/bin/record index 09277f1..56bb178 100755 --- a/.local/bin/record +++ b/.local/bin/record @@ -1,5 +1,5 @@ #!/bin/bash -AUDIO=$(pactl list sources | awk '/Name: alsa_out/{print $2}') +AUDIO=$(pactl list sources | awk '/Name: alsa_out/{print $2}' | tail -n1) ffmpeg \ -f pulse \