From 5e9040da049eefb4e626d78acb6e87effb01e8b3 Mon Sep 17 00:00:00 2001 From: "heavy@hetzner" Date: Thu, 30 Oct 2025 16:12:01 +0000 Subject: [PATCH] (fastfetch): Use fastfetch if available. --- dot_bashrc.d/executable_11.motd | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dot_bashrc.d/executable_11.motd b/dot_bashrc.d/executable_11.motd index 04083d2..7776ffa 100644 --- a/dot_bashrc.d/executable_11.motd +++ b/dot_bashrc.d/executable_11.motd @@ -4,9 +4,8 @@ # done #fi -if [ -x fastfetch ]; then +if command -v fastfetch 2>&1 >/dev/null; then fastfetch -fi -if [ -x neofetch ]; then +elif command -v neofetch 2>&1 >/dev/null; then neofetch fi