#!/bin/bash

sketchybar --add item battery right \
           --set battery update_freq=120 \
                         script="$PLUGIN_DIR/battery.sh" \
                         click_script="$PLUGIN_DIR/battery_popup.sh" \
           --subscribe battery system_woke power_source_change

sketchybar --add item batteryStatus popup.battery 

sketchybar --add item batteryMaintain popup.battery

sketchybar --add item batteryCharge popup.battery
