7 lines
		
	
	
		
			202 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			7 lines
		
	
	
		
			202 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
								 | 
							
								#!/usr/bin/env bash
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# change number by 2 for screen 2
							 | 
						||
| 
								 | 
							
								number=1
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								wf-recorder -o $(swaymsg -t get_outputs |grep "DP"|head -n ${number}|cut -d '"' -f 4) -f ~/screens/$(date +'%Y-%m-%d-%s')_screencast.mkv
							 |