From a5d21a49ccdc6141790085d4bd26b667b8d5618d Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Tue, 21 Jan 2025 23:05:03 +0100 Subject: checkpoint --- bin/common/saf | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'bin/common/saf') diff --git a/bin/common/saf b/bin/common/saf index 2936346..7323339 100755 --- a/bin/common/saf +++ b/bin/common/saf @@ -2,7 +2,7 @@ # Simple Ass Fetch by futxlii -red="$(printf '\033[31m')" +cyan="$(printf '\033[36m')" blue="$(printf '\033[34m')" reset="$(printf '\033[0m')" @@ -24,10 +24,14 @@ done KERNEL="$(uname -r)" UPTIME="$(uptime -p)"; UPTIME="${UPTIME##up }" SHELL="$(basename "$SHELL")" +MEMORY_USED="$(free --bytes | awk 'NR==2 {print $3}' | numfmt --to=iec-i --format '%.2f')" +MEMORY_TOTAL="$(free --bytes | awk 'NR==2 {print $2}' | numfmt --to=iec-i --format '%.2f')" cat <