This commit is contained in:
2026-08-24 11:35:20 +12:00
parent ebf18d2ce7
commit d7453ed56e
3 changed files with 32 additions and 5 deletions
+15 -2
View File
@@ -1,15 +1,28 @@
import os
from typing import override
from ..abstracts import AbstractDisplay
from ..structs import MonitorInfo, Modeline
class Display(AbstractDisplay):
def get_modes(self):
@override
def get_modes(self) -> list[MonitorInfo]:
pass
def set_mode(self, modeline: str):
@override
def set_mode(self, modeline: Modeline, requested_connector: str) -> None:
pass
@override
def read_saved_mode(self, location: str | Path) -> Modeline:
pass
@override
def save_current_mode(self, location: str | Path) -> None:
pass
@staticmethod
@override
def detect():
return "plasma" in os.environ.get("XDG_CURRENT_DESKTOP", "").lower()