Root commit.
This commit is contained in:
commit
7183fd6b99
21 changed files with 974 additions and 0 deletions
14
sb-ram
Executable file
14
sb-ram
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/env bash
|
||||
|
||||
. sb-theme
|
||||
|
||||
while read -a Line; do
|
||||
if [ "${Line[0]}" == 'Mem:' ]; then
|
||||
Total=${Line[1]}
|
||||
Used=${Line[2]}
|
||||
|
||||
break
|
||||
fi
|
||||
done <<< "$(free -h --mega)"
|
||||
|
||||
display " $Used/$Total" "$1"
|
Loading…
Add table
Add a link
Reference in a new issue