Switching wetting morphologies in triangular grooves