aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-04-10 02:25:43 +0200
committerdec05eba <dec05eba@protonmail.com>2023-04-10 02:25:43 +0200
commitdddd42690418b1b9aee795cd3fa0deb3eb45c83e (patch)
treecd9330a035483c7106e726ae16e419d51ba6b871 /scripts
parent9bdbca864d9077b3ad48d6de7d73b1cfafc67188 (diff)
kms: get plane every frame, might fix not updating issue and issue where plane gets invalid
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/toggle-recording-selected.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/toggle-recording-selected.sh b/scripts/toggle-recording-selected.sh
index 663f360..f87f71c 100755
--- a/scripts/toggle-recording-selected.sh
+++ b/scripts/toggle-recording-selected.sh
@@ -5,5 +5,5 @@ window=$(xdotool selectwindow)
active_sink="$(pactl get-default-sink).monitor"
mkdir -p "$HOME/Videos"
video="$HOME/Videos/$(date +"Video_%Y-%m-%d_%H-%M-%S.mp4")"
-notify-send -u low 'GPU Screen Recorder' "Started recording video to $video"
+notify-send -t 5000 -u low 'GPU Screen Recorder' "Started recording video to $video"
gpu-screen-recorder -w "$window" -c mp4 -f 60 -a "$active_sink" -o "$video"