diff options
author | Joe <rbo@gmx.us> | 2024-12-24 12:17:13 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-12-24 12:17:13 +0100 |
commit | 88cd0d91863c65f5007da7e06a6fb78b74b050bb (patch) | |
tree | 75e9752229dc5ac8000eac4dc27efffe5adf54c7 /.local/bin/status/sb-disk | |
parent | up (diff) | |
download | dotfiles-bsd-88cd0d91863c65f5007da7e06a6fb78b74b050bb.tar.gz dotfiles-bsd-88cd0d91863c65f5007da7e06a6fb78b74b050bb.tar.bz2 dotfiles-bsd-88cd0d91863c65f5007da7e06a6fb78b74b050bb.tar.xz dotfiles-bsd-88cd0d91863c65f5007da7e06a6fb78b74b050bb.tar.zst dotfiles-bsd-88cd0d91863c65f5007da7e06a6fb78b74b050bb.zip |
bar update
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/status/sb-disk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/status/sb-disk b/.local/bin/status/sb-disk index 7cea853..0c0f2cf 100755 --- a/.local/bin/status/sb-disk +++ b/.local/bin/status/sb-disk @@ -1,9 +1,9 @@ #!/bin/sh -echo -n " " +echo -n "^c#d3869b^ " df=$(df -h -T | grep '/$') if echo "$df" | grep zfs >/dev/null 2>&1; then zpool list $(echo $df | sed 's/\/.*//') | tail -n1 | awk '{print $3"/"$2}' else - echo "$df" | awk '{print $4"/"$3}' + echo "$df" | awk '{print $6}' fi |