diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-09-05 23:39:17 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-09-05 23:39:17 +0200 |
commit | 239f2010f5b91117ecd485ac20c541a1e8ecd434 (patch) | |
tree | ee053a466bbe3499f0b7df17fd792d16ffb8a9de /scripts/interactive.sh | |
parent | cb782763f03b146df43344992a82007ad616c8b9 (diff) |
Fix systemd service file
Diffstat (limited to 'scripts/interactive.sh')
-rwxr-xr-x | scripts/interactive.sh | 4 |
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" |