The smarter thing to do is literally anything that gets you out of your chair. Your body needed the break long before you’re brain succumbed to whatever fatigue.
And if you’ve been working in an office (or classroom) for a while, your body has probably gotten especially good at hiding its need for movement.
Now that you have the freedom of remote work, I strongly suggest that you do not let that habit continue.
It might be like
"Deploy X and test case Foo"
"Add widgetX to list of running widgets"
"self Review code and submit PR"
It works for me, and I do not feel as much eye strain or headaches anymore.
When programming, just before stopping, I break the code where I'm working by deleting a few random characters.
Getting back to work later, I see the IDE showing some syntax errors and it helps me quickly switch back into the work.
- Start with the easiest thing. Like opening your laptop.(That triggers the thought process).
- Start writing down your thoughts. (Helps if you don't know where to start).
- Background Task. (Just start listening to some music, yt video)
-