Is there an easy way to detect, from Lua and perhaps via $updates, whether the machine has awoken? #1567
Unanswered
LinuxOnTheDesktop
asked this question in
Q&A
Replies: 1 comment
-
I have tested and I find that $updates does not reset after sleep. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have Lua scripts that in elaborate fashion that determine whether the machine has awoken recently. (I have a shell script that runs on wake and then a Lua script that reads the timestamp of that file.) It occurred to me though that perhaps the value returned by
conky_parse("${updates}")
might reset after wake. Now, admittedly, I should test this myself . .Beta Was this translation helpful? Give feedback.
All reactions