aboutsummaryrefslogtreecommitdiff
path: root/scripts/record-application-name.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/record-application-name.sh
parentcb782763f03b146df43344992a82007ad616c8b9 (diff)
Fix systemd service file
Diffstat (limited to 'scripts/record-application-name.sh')
-rwxr-xr-xscripts/record-application-name.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/record-application-name.sh b/scripts/record-application-name.sh
index cc29255..4139c9c 100755
--- a/scripts/record-application-name.sh
+++ b/scripts/record-application-name.sh
@@ -3,4 +3,4 @@
window=$(xdotool selectwindow)
window_name=$(xdotool getwindowclassname "$window" || xdotool getwindowname "$window" || echo "Game")
window_name="$(echo "$window_name" | tr '/\\' '_')"
-gpu-screen-recorder -w "$window" -f 60 -a "$(pactl get-default-sink).monitor" -o "$HOME/Videos/recording/$window_name/$(date +"Video_%Y-%m-%d_%H-%M-%S.mp4")"
+gpu-screen-recorder -w "$window" -f 60 -a default_output -o "$HOME/Videos/recording/$window_name/$(date +"Video_%Y-%m-%d_%H-%M-%S.mp4")"