Hydrogen-bonding induced alternate stacking of donor (D) and acceptor (A) chromophores and their supramolecular switching to segregated states.