Switched machines. Correcting display names, disabling touchscreen mapping
This commit is contained in:
		
							parent
							
								
									95a9b991d1
								
							
						
					
					
						commit
						400bed77d7
					
				@ -36,17 +36,17 @@ case "$(hostname)" in
 | 
			
		||||
	
 | 
			
		||||
	"dtarchaio")
 | 
			
		||||
		tsid="USBest Technology SiS HID Touch Controller"
 | 
			
		||||
		mainoutput="eDP1"
 | 
			
		||||
		hdmi="HDMI1"
 | 
			
		||||
		mainoutput="DP1"
 | 
			
		||||
		hdmi="HDMI2"
 | 
			
		||||
 | 
			
		||||
		case "$SRANDRD_ACTION" in
 | 
			
		||||
			"$hdmi connected")
 | 
			
		||||
						xrandr --output $mainoutput --auto --output $hdmi --right-of $mainoutput
 | 
			
		||||
						maptouchscreen "$tsid" "$mainoutput"
 | 
			
		||||
						#maptouchscreen "$tsid" "$mainoutput"
 | 
			
		||||
						;;
 | 
			
		||||
			"$hdmi disconnected")
 | 
			
		||||
						xrandr --output $mainoutput --auto 
 | 
			
		||||
						maptouchscreen "$tsid" "$mainoutput"
 | 
			
		||||
						#maptouchscreen "$tsid" "$mainoutput"
 | 
			
		||||
						;;
 | 
			
		||||
		esac
 | 
			
		||||
		;;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user