first commit
This commit is contained in:
		
							
								
								
									
										12
									
								
								.local/bin/screen-switcher
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										12
									
								
								.local/bin/screen-switcher
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
choices="Left\nRight\nDuplicated\nHDMI\nMonitor\n"
 | 
			
		||||
 | 
			
		||||
chosen=$(echo -e "$choices" | dmenu -i)
 | 
			
		||||
 | 
			
		||||
case "$chosen" in
 | 
			
		||||
	Monitor) mons -o ;;
 | 
			
		||||
	Duplicated) mons -d ;;
 | 
			
		||||
	Left) mons -e left ;;
 | 
			
		||||
	Right) mons -e right ;;
 | 
			
		||||
	HDMI) mons -s
 | 
			
		||||
esac
 | 
			
		||||
		Reference in New Issue
	
	Block a user