From e33ccd3484a681d5e509aaf187f0543bd0dd5254 Mon Sep 17 00:00:00 2001 From: Azalea Date: Sun, 13 Aug 2023 19:31:28 -0700 Subject: [PATCH] [F] Fix fore-back for kubuntu Closes #154 --- hyfetch/neofetch_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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