summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/hyfetch/files/hyfetch-1.4.11-neofetch.patch')
-rw-r--r--app-misc/hyfetch/files/hyfetch-1.4.11-neofetch.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/app-misc/hyfetch/files/hyfetch-1.4.11-neofetch.patch b/app-misc/hyfetch/files/hyfetch-1.4.11-neofetch.patch
new file mode 100644
index 000000000000..02c22614cfb2
--- /dev/null
+++ b/app-misc/hyfetch/files/hyfetch-1.4.11-neofetch.patch
@@ -0,0 +1,22 @@
+From: Bailey Kasin <baileykasin@gmail.com>
+Date: Mon, 02 Oct 2023 23:02:10 -0700
+Subject: [PATCH] use system neowofetch
+
+Signed-off-by: Bailey Kasin <baileykasin@gmail.com>
+Forwarded: not-needed
+
+---
+diff --git a/hyfetch/neofetch_util.py b/hyfetch/neofetch_util.py
+index 17829ac..1fcfcfc 100644
+--- a/hyfetch/neofetch_util.py
++++ b/hyfetch/neofetch_util.py
+@@ -285,7 +285,7 @@ def run_neofetch_cmd(args: str, pipe: bool = False) -> str | None:
+ Run neofetch command
+ """
+ if platform.system() != 'Windows':
+- full_cmd = ['/usr/bin/env', 'bash', get_command_path(), *shlex.split(args)]
++ full_cmd = ['/usr/bin/neowofetch', *shlex.split(args)]
+
+ else:
+ cmd = get_command_path().replace("\\", "/").replace("C:/", "/c/")
+