cleanup, apply same color palette to all blocks
This commit is contained in:
12
storage
12
storage
@@ -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
|
||||
}
|
||||
}'
|
||||
|
||||
}
|
||||
'
|
||||
|
Reference in New Issue
Block a user