Fix systemd service file

This commit is contained in:
dec05eba
2024-09-05 23:39:17 +02:00
parent cb782763f0
commit 239f2010f5
14 changed files with 21 additions and 22 deletions

View File

@@ -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"