From d07ae4b46313749f24df9d81e7854ce09bbac256 Mon Sep 17 00:00:00 2001 From: sTiKyt Date: Wed, 6 May 2020 18:01:13 +0300 Subject: [PATCH] Deleted ThemesManager.py --- Defs/ThemesManager.py | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 Defs/ThemesManager.py diff --git a/Defs/ThemesManager.py b/Defs/ThemesManager.py deleted file mode 100644 index 7c97076..0000000 --- a/Defs/ThemesManager.py +++ /dev/null @@ -1,35 +0,0 @@ -# Themes Manager -import sys -from Defs.Configurations import readConfig, ifSettingsNotExists - -color = [0, 0, 0, 0, 0] -config = readConfig() - - -def colorSelector(): - ifSettingsNotExists() - for arg in sys.argv: - if arg in ['--theme']: - for arg in sys.argv: - if arg in ['anaglyph', '3danaglyph', '3Danaglyph', '3DAnaglyph']: - # LightRed, BackgroundCyan, Cyan, Green, ResetAll - color = ['\033[91m', '\033[46m', - '\033[36m', '\033[32m', '\033[0m'] - if arg in ['--default']: - config.set("Defaults", "theme", "anaglyph") - return color - if arg in ['ocean', 'breeze', 'blue']: - # Cyan, BackgroundCyan, BrightBlue, DarkGray, ResetAll - color = ['\033[36m', '\033[46m', - '\033[34m', '\033[30m', '\033[0m'] - if arg in ['--default']: - config.set("Defaults", "theme", "ocean") - return color - if config.get("Defaults", "theme") == "anaglyph": - color = ['\033[91m', '\033[46m', '\033[36m', '\033[32m', - '\033[0m'] # LightRed, BackgroundCyan, Cyan, Green, ResetAll - return color - elif config.get("Defaults", "theme") == "ocean": - # Cyan, BackgroundCyan, BrightBlue, DarkGray, ResetAll - color = ['\033[36m', '\033[46m', '\033[34m', '\033[30m', '\033[0m'] - return color