[O] Remove print_custom_ascii requirement from neofetch
This commit is contained in:
parent
1b0cf4ae1e
commit
7e0b0d7212
2 changed files with 1 additions and 9 deletions
|
@ -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)
|
||||
|
||||
|
|
7
neofetch
7
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 "$@"
|
||||
|
|
Loading…
Reference in a new issue