aboutsummaryrefslogtreecommitdiff
path: root/scripts/interactive.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-09-05 23:39:17 +0200
committerdec05eba <dec05eba@protonmail.com>2024-09-05 23:39:17 +0200
commit239f2010f5b91117ecd485ac20c541a1e8ecd434 (patch)
treeee053a466bbe3499f0b7df17fd792d16ffb8a9de /scripts/interactive.sh
parentcb782763f03b146df43344992a82007ad616c8b9 (diff)
Fix systemd service file
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"