Thingy
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user