#!/bin/sh

awesome-client "naughty.destroy_all_notifications()"
capacity=$(cat /sys/class/power_supply/BAT1/capacity)
status=$(cat /sys/class/power_supply/BAT1/status)

if [ $status = 'Charging' ]; then
    icon=''
else
    icon=''
fi

echo $icon $capacity
