diff --git a/.local/bin/scripts/dwmbar/disk b/.local/bin/scripts/dwmbar/disk index 8ea37a3..791bd4d 100755 --- a/.local/bin/scripts/dwmbar/disk +++ b/.local/bin/scripts/dwmbar/disk @@ -1,7 +1,7 @@ #!/bin/sh used() { - df -h "$1" | awk 'NR==2 { print $3 "/" $4 " GB" }' | sed 's/G\//\//g;s/G / /g' + df -h "$1" | awk 'NR==2 { print $3 "/" $2 " GB" }' | sed 's/G\//\//g;s/G / /g' } root="$(used /)"