Use lisgd orientation -o flag in rotate script
This commit is contained in:
		
							parent
							
								
									049a93e5d8
								
							
						
					
					
						commit
						818d7d5b17
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -15,12 +15,16 @@ isrotated() { | ||||||
| rotnormal() { | rotnormal() { | ||||||
| 	xrandr -o normal | 	xrandr -o normal | ||||||
| 	applyptrmatrix 0 0 0 0 0 0 0 0 0 | 	applyptrmatrix 0 0 0 0 0 0 0 0 0 | ||||||
|  | 	pkill lisgd | ||||||
|  | 	lisgd -o 0 & | ||||||
| 	exit 0 | 	exit 0 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| rotright() { | rotright() { | ||||||
| 	xrandr -o right | 	xrandr -o right | ||||||
| 	applyptrmatrix 0 1 0 -1 0 1 0 0 1 | 	applyptrmatrix 0 1 0 -1 0 1 0 0 1 | ||||||
|  | 	pkill lisgd | ||||||
|  | 	lisgd -o 1 & | ||||||
| 	exit 0 | 	exit 0 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue