mirror of
				https://github.com/tiyn/dotfiles.git
				synced 2025-11-04 06:21:16 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			271 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			271 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
window=$(xdotool getwindowfocus)
 | 
						|
fps=30
 | 
						|
audio="$(pactl get-default-sink).monitor"
 | 
						|
format="mp4"
 | 
						|
lenght=20
 | 
						|
output="$HOME/downloads"
 | 
						|
 | 
						|
gpu-screen-recorder -w $window -f $fps -a $audio -c $format -r $lenght -o $output &
 | 
						|
notify-send 'Screen record' 'Replay started'
 |