diff options
Diffstat (limited to 'scripts/record')
| -rwxr-xr-x | scripts/record | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/record b/scripts/record index 077209d..c061b5e 100755 --- a/scripts/record +++ b/scripts/record @@ -1,18 +1,18 @@ #!/bin/env bash -pgrep -x "wf-recorder" && pkill -INT -x wf-recorder && notify-send -h string:wf-recorder:record -t 1000 "Finished Recording" && exit 0 +pgrep -x "wf-recorder" && pkill -INT -x wf-recorder && exit 0 -notify-send -h string:wf-recorder:record -t 1000 "Recording in:" "<span color='#90a4f4' font='26px'><i><b>3</b></i></span>" +# notify-send -h string:wf-recorder:record -t 1000 "Recording in:" "<span color='#90a4f4' font='26px'><i><b>3</b></i></span>" -sleep 1 +# sleep 1 -notify-send -h string:wf-recorder:record -t 1000 "Recording in:" "<span color='#90a4f4' font='26px'><i><b>2</b></i></span>" +# notify-send -h string:wf-recorder:record -t 1000 "Recording in:" "<span color='#90a4f4' font='26px'><i><b>2</b></i></span>" -sleep 1 +# sleep 1 -notify-send -h string:wf-recorder:record -t 950 "Recording in:" "<span color='#90a4f4' font='26px'><i><b>1</b></i></span>" +# notify-send -h string:wf-recorder:record -t 950 "Recording in:" "<span color='#90a4f4' font='26px'><i><b>1</b></i></span>" -sleep 1 +# sleep 1 dateTime=$(date +%m-%d-%Y-%H:%M:%S) wf-recorder --bframes max_b_frames -f $HOME/Videos/$dateTime.mp4 |
