#!/bin/sh icon_high=󰁹 icon_low=󰁾 icon_crit=󱃍 icon_charging=󰂄 status=$(apm -b) level=$(apm -l) [ $status -eq 0 ] && printf "%s" $icon_high [ $status -eq 1 ] && printf "%s" $icon_low [ $status -eq 2 ] && printf "%s" $icon_crit [ $status -eq 3 ] && printf "%s" $icon_charging printf " %s%%\n" $level