mirror of
				https://git.davidovski.xyz/dot.git
				synced 2024-08-15 00:43:28 +00:00 
			
		
		
		
	Add desktop background
This commit is contained in:
		
							parent
							
								
									051ed527f6
								
							
						
					
					
						commit
						02a4a3a4c1
					
				
					 21 changed files with 65 additions and 47 deletions
				
			
		|  | @ -22,11 +22,12 @@ tablet_ratio = (lambda s: float(s[0]) / float(s[1]))(sys.argv[4].split(":")) if | |||
| 
 | ||||
| screens = [ | ||||
| 	(0, 0, 1920, 1080), | ||||
| 	(1920, 0, 2560, 1440), | ||||
| ] | ||||
| 
 | ||||
| #TODO find this with xrandr | ||||
| 
 | ||||
| target = screens[0] | ||||
| target = screens[1] | ||||
| 
 | ||||
| #Physical offset of the selected screen | ||||
| offsetx = target[0] | ||||
|  | @ -34,7 +35,7 @@ offsety = target[1] | |||
| 
 | ||||
| #Size of the full screen areas | ||||
| sh = 1080 | ||||
| sw = 1920 | ||||
| sw = 1920 + 2560 | ||||
| #TODO calculate using list of screens | ||||
| 
 | ||||
| #Aspect ratio of the tablet, to avoid weird scaling problems | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue