Added columns at 30-hdd-temp

This commit is contained in:
2019-08-19 15:22:47 +03:00
parent d07354218e
commit ac4f47cf0b
8 changed files with 6 additions and 2 deletions

4
30-hdd-free Normal file → Executable file
View File

@@ -6,8 +6,8 @@ maxDiscUsage=90
clear="\e[39m\e[0m"
dim="\e[2m"
barclear=""
echo
echo
echo 'HDD free:'
for point in "${mountpoints[@]}"; do
line=$(df -hl "${point}")
usagePercent=$(echo "$line"|tail -n1|awk '{print $5;}'|sed 's/%//')