16 lines
290 B
Python
16 lines
290 B
Python
import os
|
|
|
|
from ..abstracts import AbstractDisplay
|
|
|
|
|
|
class Display(AbstractDisplay):
|
|
def get_modes(self):
|
|
pass
|
|
|
|
def set_mode(self, modeline: str):
|
|
pass
|
|
|
|
@staticmethod
|
|
def detect():
|
|
return "plasma" in os.environ.get("XDG_CURRENT_DESKTOP", "").lower()
|