I started gradually reducing the number of hours I worked for 'real' until, a few years later, I found myself working for two hours a day, choosing to spend the rest on things that contributed to my sanity and self-development (on company time). To fill the gap, I would work on my own software projects, socialize with co-workers, do research on things I found interesting and read books.
Needless to say, nobody noticed. I kept this up for a number of years and then I quit. Looking back on it now, those were some of the best, most carefree years of my life. There is nothing like getting paid a competitive six figure salary to mostly do the things you enjoy and not care one iota about corporate management structures.