fix(scripts): copy video on recording save

This commit is contained in:
Barrett Ruth 2026-02-14 23:03:45 -05:00
parent 2d4a546350
commit bcd5cdc1bf
Signed by: barrett
GPG key ID: A6C96C9349D2FC81

View file

@ -189,6 +189,7 @@ media)
pkill -INT wf-recorder
file=$(cat "${XDG_RUNTIME_DIR:-/tmp}/ctl-recording" 2>/dev/null)
rm -f "${XDG_RUNTIME_DIR:-/tmp}/ctl-recording"
printf '%s' "$file" | wl-copy
notify-send -a ctl -t 2500 "Recording saved to ~${file#"$HOME"}"
exit 0
fi