From 56976cdfdd4a450ae3cfe14e829724c72adb7257 Mon Sep 17 00:00:00 2001 From: Mizuki Cheung Date: Sun, 15 Jan 2023 03:52:33 +0800 Subject: [PATCH] fix: fix fastfetch raw mode --- 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 6a1c8d2f..31a95915 100644 --- a/hyfetch/neofetch_util.py +++ b/hyfetch/neofetch_util.py @@ -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: