From a091c00c00c1d5ae5e3da7ef31b98293c76d479f Mon Sep 17 00:00:00 2001 From: pants Date: Mon, 21 Sep 2026 14:16:59 -0700 Subject: init --- scripts/replay-application-name.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 scripts/replay-application-name.sh (limited to 'scripts/replay-application-name.sh') diff --git a/scripts/replay-application-name.sh b/scripts/replay-application-name.sh new file mode 100755 index 0000000..3c3f8c5 --- /dev/null +++ b/scripts/replay-application-name.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +window=$(xdotool selectwindow) +window_name=$(xdotool getwindowname "$window" || xdotool getwindowclassname "$window" || echo "Game") +window_name="$(echo "$window_name" | tr '/\\' '_')" +gpu-screen-recorder -w "$window" -f 60 -c mkv -a default_output -bm cbr -q 40000 -r 60 -o "$HOME/Videos/Replays/$window_name" -- cgit v1.2.3