mirror of
				https://github.com/tiyn/dotfiles.git
				synced 2025-11-04 14:31:16 +01:00 
			
		
		
		
	screen record: lowered urgency of notification to omit pings
This commit is contained in:
		@@ -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'
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user