cleanup, apply same color palette to all blocks

This commit is contained in:
koksnuss
2018-05-13 19:02:56 +02:00
parent d45c6ba7fe
commit 7467e1789f
2 changed files with 31 additions and 13 deletions

12
storage
View File

@@ -11,14 +11,18 @@ df | gawk '
printf("%.0f MB", sfm)
}
print("\n")
if (sfg > 15) {
if (sfg > 20) {
print("#04B431\n")
} else if (sfg > 15) {
print("#A8FF00\n")
} else if (sfg > 10) {
print("#FFF600\n")
} else if (sfg > 5) {
print("#FFA500\n")
print("#FFAE00\n")
} else if (sfg > 1) {
print("#FF0000\n")
} else {
exit 33
}
}'
}
'