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-hdspace | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 sb-hdspace (limited to 'sb-hdspace') diff --git a/sb-hdspace b/sb-hdspace new file mode 100755 index 0000000..2a90d34 --- /dev/null +++ b/sb-hdspace @@ -0,0 +1,7 @@ +#!/bin/sh + +# row from df-h input v +hd_space="$(df -h | awk '(NR==4){print $4}')" +# column from df -h output ^ + +echo "$hd_space" -- cgit v1.2.1