You can put a small sump pump with a pressure switch in the bucket, and an overflow setup back into the normal drain. This way when the toilet flushes, the sump will kick on and fill the toilet and keep pressure on the water line feeding it. Any excess sink water will overflow out the upper hose on the bucket and go into the normal drain.