1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-26 04:57:45 +01:00

screen record: lowered urgency of notification to omit pings

This commit is contained in:
tiyn 2023-12-04 04:38:56 +01:00
parent d45a233cdb
commit 46c3f34aa5
4 changed files with 4 additions and 4 deletions

View File

@ -1,3 +1,3 @@
#!/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'

View File

@ -11,4 +11,4 @@ lenght=20
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 &
notify-send 'Screen record' 'Replay started'
notify-send -u low 'Screen record' 'Replay started'

View File

@ -10,4 +10,4 @@ a_codec="opus"
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 &
notify-send 'Screen record' 'Recording started'
notify-send -u low 'Screen record' 'Recording started'

View File

@ -1,3 +1,3 @@
#!/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'