-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hammerspoon Mortality script has issues with computer sleeping #2
Comments
Thanks for the bug report :^D I've noticed this too, I think it might be an issue with Hammerspoon's |
I can't handle this... 😨 |
@jordanj77 can't handle this specific issue with the Mortality script, or more generally can't handle that there is a Mortality script 😹 |
Haha I was wondering the same thing! |
I'm seeing an uncaught exception Can't pin down the precise reason, but it seems to go away if I shorten the updateText function to |
@jordanj77 I believe you're conflating an existential crisis with stoic philosophy 😉 |
@sprice Oops, looks like I need to |
@jordanj77 My lua is a bit rusty, but have you tried this patch? hs.timer.doEvery(ONE_DAY, function()
self:mementoMori()
end) |
I realize that opening an issue against your personal dotfiles might be annoying. But maybe you're also experiencing this same problem 😄
I find that if my computer sleeps for some time, when I bring it back the mortality number hasn't updated. I need to reload my Hammerspoon config manually to get the current number.
Note: It's possible this isn't a sleep issue, I simply find that there are times during the day that I notice I have more time to live than expected so I reload the config and am met with the cold hard truth.
The text was updated successfully, but these errors were encountered: