As others mention here and there in the comments: you can get a 3-day weekend at many tech jobs. It's just a matter of asking, and asking in the right way.
I've personally not worked 40 hour weeks since 2012, because, too much stuff to do, especially with a family.
If you don't have negotiation experience, well, I started out a terrible negotiator and eventually figured out how, so you can too. And if you'd like to skip over all the mistakes and research I did and just know what it takes to negotiate a shorter workweek as a programmer, I've written a book that can help you: https://codewithoutrules.com/3dayweekend/
E.g. this guy I interviewed has been working 4 days a week for 15 years: https://codewithoutrules.com/2018/01/08/part-time-programmer...
I've personally not worked 40 hour weeks since 2012, because, too much stuff to do, especially with a family.
If you don't have negotiation experience, well, I started out a terrible negotiator and eventually figured out how, so you can too. And if you'd like to skip over all the mistakes and research I did and just know what it takes to negotiate a shorter workweek as a programmer, I've written a book that can help you: https://codewithoutrules.com/3dayweekend/