diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-06-03 20:56:25 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-06-03 20:56:25 +0200 |
commit | f608c6b74c5b09e995a843e87708d92ea29a8db3 (patch) | |
tree | fa244210fe1f59e77b0ecd6237c24bc4d30a4c3e /scripts | |
parent | 04db56aa8fe16e0cfb6fdf8cda7b9f6051a095c3 (diff) |
game -> Game, for scripts
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/record-application-name.sh | 2 | ||||
-rwxr-xr-x | scripts/record-save-application-name.sh | 2 | ||||
-rwxr-xr-x | scripts/replay-application-name.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/scripts/record-application-name.sh b/scripts/record-application-name.sh index 0411781..cc29255 100755 --- a/scripts/record-application-name.sh +++ b/scripts/record-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 -a "$(pactl get-default-sink).monitor" -o "$HOME/Videos/recording/$window_name/$(date +"Video_%Y-%m-%d_%H-%M-%S.mp4")" diff --git a/scripts/record-save-application-name.sh b/scripts/record-save-application-name.sh index c002376..46c51f0 100755 --- a/scripts/record-save-application-name.sh +++ b/scripts/record-save-application-name.sh @@ -4,7 +4,7 @@ # 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" window=$(xdotool getwindowfocus) -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 '/\\' '_')" video_dir="$HOME/Videos/Replays/$window_name" 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" |