From 8c19b7697ce4b8aa9d4e91594914371a0fc595f8 Mon Sep 17 00:00:00 2001 From: tiyn Date: Sun, 10 Dec 2023 15:49:28 +0100 Subject: [PATCH] screen_capture: pick audio automatically --- .local/bin/etc/screen_capture/record_start | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/etc/screen_capture/record_start b/.local/bin/etc/screen_capture/record_start index 331e21b..477f6fc 100755 --- a/.local/bin/etc/screen_capture/record_start +++ b/.local/bin/etc/screen_capture/record_start @@ -2,8 +2,8 @@ window=$(xdotool getwindowfocus) fps=30 -audio_1="easyeffects_sink.monitor" -audio_2="easyeffects_source" +audio_1="$(pactl get-default-sink).monitor" +audio_2="$(pactl get-default-source)" format="mp4" v_codec="h264" a_codec="opus"