allow overriding where we get the xrandr info from
[lilass.git] / lilass
diff --git a/lilass b/lilass
index 2352e32d5bcfebbc8691d53e5b57a7ddcebb7457..6780879570d2cbb1f144882dc32739154cb5ff83 100755 (executable)
--- a/lilass
+++ b/lilass
@@ -78,19 +78,6 @@ def situationByConfig(config):
     # run!
     return screen.ScreenSituation(internalConnectors, config.get('externalConnectors'))
 
     # run!
     return screen.ScreenSituation(internalConnectors, config.get('externalConnectors'))
 
-class ShowLevels(Enum):
-    ONEXTERNAL = ("on-external")
-    ONNEW = ("on-new")
-    ONERROR = ("on-error")
-    def __init__(self, text):
-        # auto numbering
-        cls = self.__class__
-        self._value_ = len(cls.__members__) + 1
-        self.text = text
-    @classmethod
-    def getNames(cls):
-        return list(x.text for x in cls)
-
 # if we run top-level
 if __name__ == "__main__":
     try:
 # if we run top-level
 if __name__ == "__main__":
     try: