Add correct fake screen count

This commit is contained in:
Kevin Alberts 2025-10-07 14:48:20 +02:00
parent ee311b12be
commit 27b41f975d

View file

@ -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}")