Add correct fake screen count
This commit is contained in:
		
							parent
							
								
									ee311b12be
								
							
						
					
					
						commit
						27b41f975d
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -120,12 +120,15 @@ class Config(GeneralConfig):
 | 
			
		|||
        # Single 1920x1080
 | 
			
		||||
        elif qtile_width == 1920 and (qtile_height > 1070 and qtile_height <= 1080):
 | 
			
		||||
            cls.screen_kwargs = [{'x': 0, 'y': 0, 'width': 1920, 'height': 1080}]
 | 
			
		||||
            cls.fake_screen_count = 1
 | 
			
		||||
        # Single 1680x1050
 | 
			
		||||
        elif qtile_width == 1680 and (qtile_height > 1040 and qtile_height <= 1050):
 | 
			
		||||
            cls.screen_kwargs = [{'x': 0, 'y': 0, 'width': 1680, 'height': 1050}]
 | 
			
		||||
            cls.fake_screen_count = 1
 | 
			
		||||
        # Else, configure for 1 large screen
 | 
			
		||||
        else:
 | 
			
		||||
            cls.screen_kwargs = [{'x': 0, 'y': 0, 'width': qtile_width, 'height': qtile_height}]
 | 
			
		||||
            cls.fake_screen_count = 1
 | 
			
		||||
 | 
			
		||||
        logger.warning(f"Kwargs: {cls.screen_kwargs}")
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue