6 lines
		
	
	
		
			199 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
		
		
			
		
	
	
			6 lines
		
	
	
		
			199 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| 
								 | 
							
								Display="DVI-D-0" #find it with xrandr
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Stylusid=$(xinput | grep -Po 'Wacom (.*)' | grep -Po 'id=(\d*)' | grep -Po '\d*')
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								$(echo $Stylusid | tr ' ' '\n' | xargs -i xinput map-to-output {} $Display)
							 |