Whilst it's been a while since I wasn't naturally compelled to have hands on the instrument daily; and for hours on end...
When those times have occurred...
I just make it a point to do SOMETHING/ANYTHING on guitar; for any amount of time
(not even 5 minutes; just ANY amount of time)
maybe run through a scale; but typically it was
just picking something from my repertoire list (things I can play with ease)
I started that list with simple riffs and melodies
and then it expanded into songs