diff options
author | aristocratos <gnmjpl@gmail.com> | 2021-06-06 18:31:53 +0200 |
---|---|---|
committer | aristocratos <gnmjpl@gmail.com> | 2021-06-06 18:31:53 +0200 |
commit | ea9d72b6aade60ab66de3017a18d063f21cf1463 (patch) | |
tree | 828be2eabe3efa2b589a24cc79be6bdbc7b364a8 | |
parent | cc460666ff49e80afee582845011957faedfa556 (diff) |
Fixed: Themes missing when installing with pip3
-rwxr-xr-x | bpytop.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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'): |