I have a dumb work related chrome thing, i’d like to make it so that when a certain notification sound plays in chromium, my computer does a few things automatically for me

Does anyone know a good way to make this happen?

I imagine it’d have to be setup like:

when chrome starts playing audio && check if that audio matches soundfile.ogg && myscript.sh, but I don’t know any good cli utilities that could get something like that done, and if there are any better ideas!

  • Communist@lemmy.mlOP
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 year ago

    That’s an interesting solution that i’d rather avoid because it’s proprietary

    Also, that wouldn’t distinguish the two states of call/email, I don’t think.

    • DaGeek247@fedia.io
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      It was the first result i found for ‘monitor webpage chrome’. There’s a very good chance that what you’re after is just two or three results lower. I promise it would be a lot easier than developing an entirely new solution that works based on speaker sounds. Bonus, these extensions have basic stuff like sms or email support right out of the box.