summaryrefslogtreecommitdiff
path: root/sb-ram
diff options
context:
space:
mode:
authorJake VanderVaate <jake.vandervaate@protonmail.com>2022-02-28 22:12:51 -0600
committerJake VanderVaate <jake.vandervaate@protonmail.com>2022-02-28 22:12:51 -0600
commit33cf649f2d0f7a57c7a66250fa12aa5e9ce759b5 (patch)
tree94259b4b27a7efd37b0def338e365da32a0ee23e /sb-ram
parenta93db148848b034954be9b8be8dc69ad33615458 (diff)
initial commit, added status bar scripts
Diffstat (limited to 'sb-ram')
-rwxr-xr-xsb-ram7
1 files changed, 7 insertions, 0 deletions
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"