Dead Easy!
I have done this for years. Use a relay.
1. Wire your driving lights, with the appropriate gauge of wire, to a good 12v source.
2. Depending on how your vehicle is wired put an appropriately sized relay in either the positive or negative side of the circuit.
3. Wire the control side of the relay to your high beams, again, positive or negative, depending on how your vehicle is set up.
When you hit the high beams, the driving lights come on. Low beams, they are off.
Notes:
-- I have always wired this on the positive side, but some modern vehicles switch the negative side. Either one will work.
-- A dash switch will allow you to shut off the driving lights whenever you wish, as when you have covers fitted, during inspections, etc.
-- A tell tale on the dash switch is a nice feature.
Dead easy, hit your high beams and everything comes on, dim your lights and everything shuts off.