diff --git a/files/dwm/storage.function b/files/dwm/storage.function index 43ea5f2..7cb0a94 100755 --- a/files/dwm/storage.function +++ b/files/dwm/storage.function @@ -11,7 +11,7 @@ function storage { if [[ "$style" == "%" || "$style" == "pct" || "$style" == "percent" ]]; then df -h $location | tail -n 1 | awk {print $5} - elif [[ "$style" == "/" || "$style" == "use" || "$style" == "usage" ]] + elif [[ "$style" == "/" || "$style" == "use" || "$style" == "usage" ]]; then df -h $location | tail -n 1 | awk {print $3"/"$2} else df -h $location | tail -n 1 | awk {print $5" Free, "$3"/"$2" Used"}