From 24c19bf2b3d76dfb66262db342c1875896817ff1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Tue, 10 Nov 2020 00:35:03 +0100 Subject: [PATCH] Updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- .local/bin/record | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \