[-] Remove ascii_len and ascii_lines env variables
This commit is contained in:
parent
7e0b0d7212
commit
2ca7103f1a
1 changed files with 0 additions and 4 deletions
|
@ -257,7 +257,6 @@ def run_neofetch(preset: ColorProfile, alignment: ColorAlignment):
|
|||
:param alignment: Color alignment settings
|
||||
"""
|
||||
asc = get_distro_ascii()
|
||||
w, h = ascii_size(asc)
|
||||
asc = alignment.recolor_ascii(asc, preset)
|
||||
|
||||
# Escape backslashes here because backslashes are escaped in neofetch for printf
|
||||
|
@ -270,9 +269,6 @@ def run_neofetch(preset: ColorProfile, alignment: ColorAlignment):
|
|||
path.write_text(asc)
|
||||
|
||||
# Call neofetch with the temp file
|
||||
os.environ['ascii_len'] = str(w)
|
||||
os.environ['ascii_lines'] = str(h)
|
||||
|
||||
run_command(f'--ascii --source {path.absolute()} --ascii-colors')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue