#!/bin/sh
icon="^b#282828^^c#dfdfdf^ ^d^ "
total=$(free -h | awk '/^Mem:/ {print $3/$2}')
percent=${total##*0\.}
percent=$(printf %3s $(echo ${percent##*0} | cut -c1-2) | tr ' ' ' ')%
echo "$icon $percent"