Added path for themes directory when installed via pipx

This commit is contained in:
C H 2023-03-25 15:27:42 -07:00
parent ad8b1802f5
commit 61e38c6094

View file

@ -25,6 +25,7 @@ if os.environ.get("XDG_DATA_DIRS"):
PATHS.extend([ PATHS.extend([
os.path.expanduser("~/.config/bumblebee-status/themes"), os.path.expanduser("~/.config/bumblebee-status/themes"),
os.path.expanduser("~/.local/share/bumblebee-status/themes"), # PIP os.path.expanduser("~/.local/share/bumblebee-status/themes"), # PIP
os.path.expanduser("~/.local/pipx/venvs/bumblebee-status/share/bumblebee-status/themes"), # PIPX
"/usr/share/bumblebee-status/themes", "/usr/share/bumblebee-status/themes",
]) ])