diff --git a/hyfetch/neofetch_util.py b/hyfetch/neofetch_util.py index 823d43cc..17829ac9 100644 --- a/hyfetch/neofetch_util.py +++ b/hyfetch/neofetch_util.py @@ -424,7 +424,7 @@ def get_fore_back(distro: str | None = None) -> tuple[int, int] | None: distro = get_distro_name().lower() distro = distro.lower().replace(' ', '-') for k, v in fore_back.items(): - if distro == k.lower(): + if distro.startswith(k.lower()): return v return None