#!/bin/bash

# wminfo plugin: df -lh command output

# command: wminfo -p df.wmi -u 5 -b#000000 -f#00ff00

df=`df -lh | awk '/^\/dev/{print $1,$4}' | sed -E 's/ ([0-9][0-9][BKMGTPEZY])/  \1/'`
df=${df//\/dev\//\\n}

echo -e "$df"
echo -e "         \n         \n         \n         \n         \n"

