mirror of
				https://git.davidovski.xyz/dot.git
				synced 2024-08-15 00:43:28 +00:00 
			
		
		
		
	changes of sorts
This commit is contained in:
		
							parent
							
								
									c475aefc0f
								
							
						
					
					
						commit
						a4e5fe820e
					
				
					 15 changed files with 87 additions and 35 deletions
				
			
		|  | @ -1,6 +1,9 @@ | |||
| #!/usr/bin/python | ||||
| import sys | ||||
| 
 | ||||
| if len(sys.argv) < 3: | ||||
|     print("Usage: tablet [dev number] [property number] [scale factor] [aspect ratio]") | ||||
| 
 | ||||
| #Arguments | ||||
| dev = sys.argv[1] | ||||
| prop = sys.argv[2] | ||||
|  | @ -8,11 +11,18 @@ scale = float(sys.argv[3]) | |||
| tablet_ratio = (lambda s: float(s[0]) / float(s[1]))(sys.argv[4].split(":")) if len(sys.argv) > 4 else 16/9 | ||||
| 
 | ||||
| #Layout of screens: (x, y, w, h) | ||||
| #screens = [ | ||||
| #	(0, 0, 1280, 1024), | ||||
| #	(1280, 0, 2560, 1440), | ||||
| #	(3840, 0, 1080, 1920), | ||||
| #	(4920, 0, 1080, 1920), | ||||
| #] | ||||
| 
 | ||||
| screens = [ | ||||
| 	(0, 0, 1280, 1024), | ||||
| 	(1280, 0, 2560, 1440), | ||||
| 	(3840, 0, 1080, 1920), | ||||
| 	(4920, 0, 1080, 1920), | ||||
| 	(3840, 0, 1920, 1080), | ||||
| 	(5760, 0, 1920, 1080), | ||||
| ] | ||||
| 
 | ||||
| #TODO find this with xrandr | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue