Change default non-DWM formatting.
This commit is contained in:
@@ -16,7 +16,7 @@ function storage-display {
|
||||
elif [[ "$style" == "G" || "$style" == "S" || "$style" == "F" ]]; then
|
||||
df -h "$location" | tail -n 1 | awk '{print $4" Free"}'
|
||||
else
|
||||
df -h "$location" | tail -n 1 | awk '{print $5" Used, "$4"/"$2" Free"}'
|
||||
df -h "$location" | tail -n 1 | awk '{print $5" Used - "$4"/"$2" Free"}'
|
||||
fi
|
||||
}
|
||||
alias storage='echo -n "Root: " && storage-display "/" "F" && echo -n "Home: " && storage-display "/home" "F"'
|
||||
|
||||
Reference in New Issue
Block a user