From ea9d72b6aade60ab66de3017a18d063f21cf1463 Mon Sep 17 00:00:00 2001 From: aristocratos Date: Sun, 6 Jun 2021 18:31:53 +0200 Subject: [PATCH] Fixed: Themes missing when installing with pip3 --- bpytop.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bpytop.py b/bpytop.py index cbb1ae2..d016bba 100755 --- a/bpytop.py +++ b/bpytop.py @@ -254,6 +254,8 @@ THEME_DIR: str = "" if os.path.isdir(f'{os.path.dirname(__file__)}/bpytop-themes'): THEME_DIR = f'{os.path.dirname(__file__)}/bpytop-themes' +elif os.path.isdir(f'{os.path.dirname(__file__)}/themes'): + THEME_DIR = f'{os.path.dirname(__file__)}/themes' else: for td in ["/usr/local/", "/usr/", "/snap/bpytop/current/usr/"]: if os.path.isdir(f'{td}share/bpytop/themes'):