diff options
author | Ben Burwell <ben@benburwell.com> | 2019-08-13 14:40:54 -0400 |
---|---|---|
committer | Ben Burwell <ben@benburwell.com> | 2019-08-13 14:40:54 -0400 |
commit | c09d91fe95fca4367f47c06fc808cd02a1a8e6a5 (patch) | |
tree | 6c5c8dee0c219ab701dc1ff4c39e905dbac08e70 /templates/.bin/get_disk |
add bins
Diffstat (limited to 'templates/.bin/get_disk')
-rwxr-xr-x | templates/.bin/get_disk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/.bin/get_disk b/templates/.bin/get_disk new file mode 100755 index 0000000..6113c41 --- /dev/null +++ b/templates/.bin/get_disk @@ -0,0 +1,4 @@ +#!/bin/sh + +avail=$(df -h --output=avail / | tail -n1 | sed 's/ //g') +echo "<span font='FontAwesome'></span> $avail" |