fix(scripts): copy video on recording save
This commit is contained in:
parent
2d4a546350
commit
bcd5cdc1bf
1 changed files with 1 additions and 0 deletions
|
|
@ -189,6 +189,7 @@ media)
|
||||||
pkill -INT wf-recorder
|
pkill -INT wf-recorder
|
||||||
file=$(cat "${XDG_RUNTIME_DIR:-/tmp}/ctl-recording" 2>/dev/null)
|
file=$(cat "${XDG_RUNTIME_DIR:-/tmp}/ctl-recording" 2>/dev/null)
|
||||||
rm -f "${XDG_RUNTIME_DIR:-/tmp}/ctl-recording"
|
rm -f "${XDG_RUNTIME_DIR:-/tmp}/ctl-recording"
|
||||||
|
printf '%s' "$file" | wl-copy
|
||||||
notify-send -a ctl -t 2500 "Recording saved to ~${file#"$HOME"}"
|
notify-send -a ctl -t 2500 "Recording saved to ~${file#"$HOME"}"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue