Derive happiness in oneself from a good day’s work, from illuminating the fog that surrounds us. – Henri Matisse
An enabling factor here is clarity of what you are working towards.
Clarity of your ultimate goal, the interim goals and beginning each day with a checklist of a few things (not a laundry list) that you will complete that day will move you forward. The compounding effect of that discipline is amazing.