Massive refactor (Zed wouldn't stop complaining about formatting) and
beginning of proper GNOME implementation.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import os
|
||||
|
||||
from ..abstracts import AbstractDisplay
|
||||
|
||||
import os
|
||||
|
||||
class Display(AbstractDisplay):
|
||||
def get_modes(self):
|
||||
@@ -11,4 +12,4 @@ class Display(AbstractDisplay):
|
||||
|
||||
@staticmethod
|
||||
def detect():
|
||||
return "plasma" in os.environ.get("XDG_CURRENT_DESKTOP", "").lower()
|
||||
return "plasma" in os.environ.get("XDG_CURRENT_DESKTOP", "").lower()
|
||||
|
||||
Reference in New Issue
Block a user