The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
1

Find where program is running and blink workspace

asked 2014-04-22 21:31:09 +0000

iomartin gravatar image

I have two questions in one:

  1. How do I "blink" a workspace? (such as when you open a program in a workspace that doesn't have focus)?
  2. 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.

edit retag flag offensive close merge delete

Comments

How would you go about writing the imap hook for new mail?

TonyC gravatar imageTonyC ( 2014-04-22 22:40:15 +0000 )edit

@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.

iomartin gravatar imageiomartin ( 2014-04-23 13:16:20 +0000 )edit

1 answer

Sort by ยป oldest newest most voted
3

answered 2014-04-22 22:38:01 +0000

TonyC gravatar image

Let me recommend using a notification daemon for this instead, such as dunst

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-04-22 21:31:09 +0000

Seen: 167 times

Last updated: Apr 22 '14