fix: fix fastfetch raw mode

This commit is contained in:
Mizuki Cheung 2023-01-15 03:52:33 +08:00
parent 3535dd3fcf
commit 56976cdfdd
No known key found for this signature in database
GPG key ID: 21918D0F2EEBCCD5

View file

@ -307,7 +307,7 @@ def run_fastfetch(preset: ColorProfile, alignment: ColorAlignment):
path.write_text(asc)
# Call fastfetch with the temp file
subprocess.run(['fastfetch', '--raw', path.absolute()])
subprocess.run(['fastfetch', '--file-raw', path.absolute()])
def get_fore_back(distro: str | None = None) -> tuple[int, int] | None: