#!/bin/bash

# omarchy:summary=Set the correct power profile on boot based on current AC/battery state.

if omarchy-battery-present && ! omarchy-ac-present; then
  omarchy-powerprofiles-set battery
else
  omarchy-powerprofiles-set ac
fi
