Mechanical expansion and contraction of pores within photosynthetic organisms regulate a series of processes that are necessary to manage light absorption, control gas exchange, and regulate water loss. These pores, known as stoma, allow the plant to maximize photosynthetic output depending on environmental conditions such as light intensity, humidity, and temperature by actively changing the size of the stomal opening. Despite advances in artificial photosynthetic systems, little is known about the effect of such mechanical actuation in synthetic materials where chemical reactions occur. It is reported here on a hybrid hydrogel that combines light-activated supramolecular polymers for superoxide production with thermal mechanical actuation of a covalent polymer. Superoxide production is important in organic synthesis and environmental remediation, and is a potential precursor to hydrogen peroxide liquid fuel. It is shown that the closing of pores in the hybrid hydrogel results in a substantial decrease in photocatalysis, but cycles of swollen and contracted states enhance photocatalysis. The observations motivate the development of biomimetic photosynthetic materials that integrate large scale motion and chemical reactions.