making more widgets and better spacing
This commit is contained in:
parent
ea0f4fd844
commit
c27a826eb0
10 changed files with 139 additions and 83 deletions
|
@ -6,4 +6,6 @@ percent=$(bc -l <<< "100 * $total / $used")
|
|||
|
||||
mem=$(awk -v u=$used -v t=$total -v p=$percent 'BEGIN {printf "%sMi/%sMi %.1f% ", t, u, p}')
|
||||
|
||||
echo $mem
|
||||
memperc=$(echo $mem | awk '{print $2}')
|
||||
|
||||
echo $memperc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue