running custom commands upon lock and unlock #453
Unanswered
lestephane
asked this question in
Q&A
Replies: 1 comment
-
This would be useful as well for other stuff, like stopping music to play. I got quite addicted to that feature when I used |
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
-
I use custom cli commands to punch in and out of tasks.
When workrave locks everything, I no longer can punch out with the keyboard...
If I punch out in time before workrave locks everything, I then forget to punch in after workrave unlocks.
It would seem to me that letting the user run custom commands upon lock and unlock is the best approach.
Is there a way to achieve this?
There might be larger narrative about how workrave integrates with external punch clocks here (at least how it automatically punches out the user), though it is not my intent to start such as design discusssion. I want to squarely focus on allowing the user to have workrave execute arbitrary commands upon workrave lifecycle events.
Beta Was this translation helpful? Give feedback.
All reactions