From 4e51bddf175c91f49ccee4d58d2a71f7ad930b68 Mon Sep 17 00:00:00 2001 From: Jordan Atwood Date: Thu, 18 Aug 2022 10:28:17 -0700 Subject: [PATCH] Use screenfetch as motd if installed --- src/.bashrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/.bashrc b/src/.bashrc index a242919..19ca187 100755 --- a/src/.bashrc +++ b/src/.bashrc @@ -241,6 +241,11 @@ function _bashrc_randomcolor { # prints a message of the day (time, shell info, system info, etc.) function _bashrc_motd { + if type screenfetch >/dev/null; then + screenfetch + return + fi + local kernel_string uptime_seconds uptime_msg cpuinfo cpu_model cpu_cores \ cpu_msg k mem_decimals mem_units mem_label mem_percent_free \ mem_danger_cutoff_limit mem_danger_cutoff_percent \