diff --git a/screen_brightness_control/linux.py b/screen_brightness_control/linux.py index 22fb88b..d8b1d6b 100644 --- a/screen_brightness_control/linux.py +++ b/screen_brightness_control/linux.py @@ -540,7 +540,7 @@ def _gdi(cls): 'manufacturer': None, 'manufacturer_id': None, 'edid': None, - 'unsupported': line.startswith('XWAYLAND') + 'unsupported': line.startswith('XWAYLAND') or 'WAYLAND_DISPLAY' in os.environ } display_count += 1