Change default non-DWM formatting.
This commit is contained in:
1 parent
88b602f8f4
commit
477797e045
1 file changed
+1
-1
@@ -16,7 +16,7 @@ function storage-display {
|
|||||||
elif [[ "$style" == "G" || "$style" == "S" || "$style" == "F" ]]; then
|
elif [[ "$style" == "G" || "$style" == "S" || "$style" == "F" ]]; then
|
||||||
df -h "$location" | tail -n 1 | awk '{print $4" Free"}'
|
df -h "$location" | tail -n 1 | awk '{print $4" Free"}'
|
||||||
else
|
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
|
fi
|
||||||
}
|
}
|
||||||
alias storage='echo -n "Root: " && storage-display "/" "F" && echo -n "Home: " && storage-display "/home" "F"'
|
alias storage='echo -n "Root: " && storage-display "/" "F" && echo -n "Home: " && storage-display "/home" "F"'
|
||||||
|
|||||||
Reference in new issue
Block a user