-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Description
Hi, I've upgraded to wf-recorder 0.3.0 and now I can't overwrite anymore an existing recording.
I understand the use case of #115 but I have the opposite need :) In addition since I use Sway and often have two monitors attached I script wf-recorder as follows:
# On multi-monitor setup, retrieve the one with focus (ex. "DP-1")
output_name=$(swaymsg -t get_outputs | jq -r '.[] | select(.focused ).name')
output_id=$(
false | wf-recorder 2>&1 | grep $output_name | cut -d"." -f 1
)
echo -n $output_id | wf-recorder -f ~/tmp/out.mp4
Now I can't do this anymore. Is there a way to also add a yes somewhere to skip the overwrite prompt? Or an additional patch to add a --force parameter would be needed?
As a workaround I can record to ~/tmp/`date +%Y%m%d-%H%M%S`-out.mp4 ...
Thanks for wf-recorder!
Metadata
Metadata
Assignees
Labels
No labels