Find where program is running and blink workspace
I have two questions in one:
- How do I "blink" a workspace? (such as when you open a program in a workspace that doesn't have focus)?
- Is it possible to find out in which workspace(s) a program is running?
Ultimately, my goal is to set a notification whenever I receive an email. I have offlineimap syncing my email every 5 minutes and mutt running (usually) in workspace 9. So I'd set an offlineimap hook that would call a script that if there was new email, would find out if (and where) mutt is running. If mutt is running, blink that workspace.
Thanks.
How would you go about writing the imap hook for new mail?
@TonyC, thanks, I'll have a look at dunst. I hadn't looked into knowing if I have new email, I thought there should be some option in offlineimap/mutt that would allow that.