Sounds like burnout. I take a month or 2 off for every year I work.. sometimes at the start of that break, I feel like you do, but a bit of sun on my face and some outdoors, and suddenly the desire to sit inside and code for hours, starts to return. :D