commit 6941a2b1e34232a2ec90b7d9264070afc54015fe parent 09c289930a53530c16476267d80a652268f9a143 Author: Oscar Benedito <oscar@oscarbenedito.com> Date: Sat, 6 Feb 2021 02:00:37 +0100 Fix disk status bar info Diffstat:
M | .local/bin/dwmblocks/dwmb-disk | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.local/bin/dwmblocks/dwmb-disk b/.local/bin/dwmblocks/dwmb-disk @@ -1,4 +1,4 @@ #!/usr/bin/env sh -#echo -n " "; df -h -l --output='used' "$HOME" | grep -E -o '[0-9]+G' -echo -n " "; df -h -l --output='avail' "$HOME" | grep -E -o '[0-9]+G' +#echo -n " "; df -h -l --output='used' "$HOME" | grep -E -o '[0-9\.]+G' +echo -n " "; df -h -l --output='avail' "$HOME" | tail -n 1 | cut -d" " -f 2