Change default non-DWM formatting.

This commit is contained in:
2025-11-10 21:58:30 -07:00
parent 88b602f8f4
commit 477797e045

View File

@@ -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"'