aboutsummaryrefslogtreecommitdiff
path: root/scripts/replay-application-name.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-05-11 23:03:10 +0200
committerdec05eba <dec05eba@protonmail.com>2024-05-11 23:03:10 +0200
commit2cd031db48272635b851d6c79a6f283e497293d1 (patch)
treef019214f1c1af70d69fae0ce74238d7e3a381e08 /scripts/replay-application-name.sh
parent357df7ce5351bb6e2a388c6b9a780483969c5707 (diff)
Add -sc example script to save the replay video to a folder with the game name
Diffstat (limited to 'scripts/replay-application-name.sh')
-rwxr-xr-xscripts/replay-application-name.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/replay-application-name.sh b/scripts/replay-application-name.sh
index 826ca3b..7683abb 100755
--- a/scripts/replay-application-name.sh
+++ b/scripts/replay-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 -c mkv -a "$(pactl get-default-sink).monitor" -r 60 -o "$HOME/Videos/replay/$window_name"
+gpu-screen-recorder -w "$window" -f 60 -c mkv -a "$(pactl get-default-sink).monitor" -r 60 -o "$HOME/Videos/Replays/$window_name"