Shift Register Libraries for LCD Displays

How do I go about powering everything off another voltage supply? Would this setup work using either a wall adapter or battery, as long as I connect all the grounds?