@ 260802.2
current
#!/bin/sh

if ! is-laptop; then
  exit 0
fi

if batrem | grep -q 'AC'; then
  brightness ac
else
  brightness bat
fi