screen record: lowered urgency of notification to omit pings

master
tiyn 1 year ago
parent d45a233cdb
commit 46c3f34aa5

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
killall -SIGUSR1 gpu-screen-recorder && notify-send 'Screen record' 'Replay saved' killall -SIGUSR1 gpu-screen-recorder && notify-send -u low 'Screen record' 'Replay saved'

@ -11,4 +11,4 @@ lenght=20
output="$HOME/downloads" output="$HOME/downloads"
gpu-screen-recorder -w $window -f $fps -a $audio_1 -a $audio_2 -c $format -k $v_codec -ac $a_codec -r $lenght -o $output & gpu-screen-recorder -w $window -f $fps -a $audio_1 -a $audio_2 -c $format -k $v_codec -ac $a_codec -r $lenght -o $output &
notify-send 'Screen record' 'Replay started' notify-send -u low 'Screen record' 'Replay started'

@ -10,4 +10,4 @@ a_codec="opus"
output="$HOME/downloads/recording-$(date '+%Y-%m-%d_%H-%M-%S').$format" output="$HOME/downloads/recording-$(date '+%Y-%m-%d_%H-%M-%S').$format"
gpu-screen-recorder -w $window -c $format -k $v_codec -ac $a_codec -f $fps -a $audio_1 -a $audio_2 -o $output & gpu-screen-recorder -w $window -c $format -k $v_codec -ac $a_codec -f $fps -a $audio_1 -a $audio_2 -o $output &
notify-send 'Screen record' 'Recording started' notify-send -u low 'Screen record' 'Recording started'

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
killall -SIGINT gpu-screen-recorder && notify-send 'Screen record' 'Recording stopped' killall -SIGINT gpu-screen-recorder && notify-send -u low 'Screen record' 'Recording stopped'

Loading…
Cancel
Save