aboutsummaryrefslogtreecommitdiff
path: root/scripts/replay-application-name.sh
diff options
context:
space:
mode:
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 7683abb..18df61a 100755
--- a/scripts/replay-application-name.sh
+++ b/scripts/replay-application-name.sh
@@ -1,6 +1,6 @@
#!/bin/sh
window=$(xdotool selectwindow)
-window_name=$(xdotool getwindowclassname "$window" || xdotool getwindowname "$window" || echo "game")
+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/Replays/$window_name"