From 169366a636a6ca69040b8bc218f4d52c01eacb62 Mon Sep 17 00:00:00 2001 From: Frost-Phoenix <67cyril6767@gmail.com> Date: Fri, 22 Dec 2023 21:54:08 +0100 Subject: [PATCH] change maxfetch --- modules/home/scripts/scripts/maxfetch.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/home/scripts/scripts/maxfetch.sh b/modules/home/scripts/scripts/maxfetch.sh index e6ba7c8..486f411 100755 --- a/modules/home/scripts/scripts/maxfetch.sh +++ b/modules/home/scripts/scripts/maxfetch.sh @@ -26,6 +26,8 @@ up=$(uptime | awk -F'( |,|:)+' '{ } { print h+0,"h",m+0,"m" } ') +up=$(sed -e "s/ h/h/g" <<< ${up}) +up=$(sed -e "s/ m/m/g" <<< ${up}) pkgs=$(nix-store --query --requisites /run/current-system | wc -l)