Then switch back to boxers when you get home.
You can also get brief-like underwear that has more of a pouch, which will let your balls avoid overheating but still keep your dick in check.
You can't have both a free-swinging sack and tied-up cock (although there ARE ways to do that, too). You're going to have to decide.
I tried that but I spend too much time at the hospital. Enough time to do dammage