# Deploy display colour profiles (ICC) to ~/.local/share/icc/.
# Monitor calibration; the compositor / colord matches them to a display.
found=0
for icc in "$REPO_ROOT/03-user/colorprofiles"/*.icc; do
  [ -e "$icc" ] || continue   # no matches -> skip (glob left literal)
  install -Dm644 "$icc" "$HOME/.local/share/icc/$(basename "$icc")" && info "icc: $(basename "$icc")"
  found=1
done
[ "$found" = 1 ] || echo "   no colour profiles in 03-user/colorprofiles"
