This commit is contained in:
2026-03-03 01:53:14 -06:00
commit dc1039a737
10 changed files with 198 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
from colored import Fore, Back, Style
from pathlib import Path
python_script_path = Path(__file__).parent
def set_logo(distro="linux"):
distro_logo_path = None
color = None
match distro:
case "debian":
distro_logo_path = python_script_path / "logos" / "debian.txt"
color = Fore.red
case _:
distro_logo_path = python_script_path / "logos" / "linux.txt"
return distro_logo_path, color
def open_logo_file(path):
with open(path, "r") as f:
return f.read()