mirror of
				https://github.com/tiyn/dotfiles.git
				synced 2025-11-04 06:21:16 +01:00 
			
		
		
		
	togglemonitor: automatically change re-set the background
This commit is contained in:
		@@ -8,3 +8,4 @@ extern=HDMI2
 | 
			
		||||
(xrandr | grep "$extern disconnected")
 | 
			
		||||
(xrandr --listactivemonitors | grep $extern) || ((xrandr --output $extern --right-of $intern --auto && setbg) & exit)
 | 
			
		||||
(xrandr --listactivemonitors | grep $extern) && xrandr --output $extern --off
 | 
			
		||||
setbg
 | 
			
		||||
		Reference in New Issue
	
	Block a user