diff --git a/hyfetch/neofetch_util.py b/hyfetch/neofetch_util.py index d324c6d4..affc5849 100644 --- a/hyfetch/neofetch_util.py +++ b/hyfetch/neofetch_util.py @@ -235,8 +235,7 @@ def get_distro_ascii(distro: str | None = None) -> str: print(GLOBAL_CFG) cmd = 'print_ascii' if distro: - os.environ['CUSTOM_DISTRO'] = distro - cmd = 'print_custom_ascii' + cmd += f' --ascii_distro {distro}' asc = run_command(cmd, True) diff --git a/neofetch b/neofetch index ec9f36fa..c12b8fb5 100755 --- a/neofetch +++ b/neofetch @@ -13885,11 +13885,4 @@ get_print_ascii() { echo "$ascii_data" } -get_print_custom_ascii() { - distro="$CUSTOM_DISTRO" - ascii_distro=$distro - get_distro_ascii - echo "$ascii_data" -} - main "$@"