From 33cf649f2d0f7a57c7a66250fa12aa5e9ce759b5 Mon Sep 17 00:00:00 2001 From: Jake VanderVaate Date: Mon, 28 Feb 2022 22:12:51 -0600 Subject: initial commit, added status bar scripts --- sb-ram | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 sb-ram (limited to 'sb-ram') diff --git a/sb-ram b/sb-ram new file mode 100755 index 0000000..7033cbb --- /dev/null +++ b/sb-ram @@ -0,0 +1,7 @@ +#!/bin/sh + +# colum of free -h v +ram_used="$(free -h | awk '(NR==2){print $3}')" +# row from free -h ^ + +echo "$ram_used" -- cgit v1.2.1