aboutsummaryrefslogtreecommitdiff
path: root/scripts/interactive.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/interactive.sh')
-rwxr-xr-xscripts/interactive.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/interactive.sh b/scripts/interactive.sh
index 63b0eae..bfaaae0 100755
--- a/scripts/interactive.sh
+++ b/scripts/interactive.sh
@@ -1,7 +1,5 @@
#!/bin/sh -e
-selected_audio_input="$(pactl get-default-sink).monitor"
-
echo "Select a window to record"
window_id=$(xdotool selectwindow)
@@ -14,4 +12,4 @@ read output_file_name
output_dir=$(dirname "$output_file_name")
mkdir -p "$output_dir"
-gpu-screen-recorder -w "$window_id" -c mp4 -f "$fps" -a "$selected_audio_input" -o "$output_file_name"
+gpu-screen-recorder -w "$window_id" -c mp4 -f "$fps" -a default_output -o "$output_file_name"