current commit
250831.1 · bin: make `autobright` a no-op on non-laptops
#!/bin/sh

if ! is-laptop; then
  exit 0
fi

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