aboutsummaryrefslogtreecommitdiff
path: root/scripts/record-save-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-save-application-name.sh
parentcb782763f03b146df43344992a82007ad616c8b9 (diff)
Fix systemd service file
Diffstat (limited to 'scripts/record-save-application-name.sh')
-rwxr-xr-xscripts/record-save-application-name.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/record-save-application-name.sh b/scripts/record-save-application-name.sh
index 46c51f0..b814809 100755
--- a/scripts/record-save-application-name.sh
+++ b/scripts/record-save-application-name.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# This script should be passed to gpu-screen-recorder with the -sc option, for example:
-# gpu-screen-recorder -w screen -f 60 -a "$(pactl get-default-sink).monitor" -r 60 -sc scripts/record-save-application-name.sh -c mp4 -o "$HOME/Videos"
+# gpu-screen-recorder -w screen -f 60 -a default_output -r 60 -sc scripts/record-save-application-name.sh -c mp4 -o "$HOME/Videos"
window=$(xdotool getwindowfocus)
window_name=$(xdotool getwindowclassname "$window" || xdotool getwindowname "$window" || echo "Game")