Git Product home page Git Product logo

notificator's Introduction

Notificator

macOS tool unencumbered by licenses to show notifications from Alfred Workflows with their icon.

Usage

Include the notificator script in your Alfred Workflow and call it with the relevant options:

./notificator --title 'This is a notification' --subtitle 'It has a subtitle' --message 'And plays a sound' --sound 'Frog'

--message is mandatory but the other flags are optional. Use --help to see what is available.

How it works

While it is possible to trigger notifications from AppleScript, those show a generic icon. To have a custom icon in full view, an app is required.

Notificator’s purpose is to create these small specialised apps. The icon is extracted from the Workflows’s root directory and the bundle identifier is derived from the Workflow’s—it is cleaned up and .notificator is appended.

The first time the script in run on a user’s machine, the app will be seamlessly created to the Workflow’s cache directory and macOS will prompt the user to allow notifications. On subsequent runs, the cached app will be run directly. The app is rebuilt if it is over a month old at the time of the notification, to refresh outdated icons.

Prohibitory Symbol

A macOS bug may cause notifications to show a prohibitory symbol on top of the app icon. Logout or restart macOS to fix it.

notificator's People

Contributors

chrisgrieser avatar vitorgalvao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

notificator's Issues

Forbidden sign after macOS update

Hello @vitorgalvao,

I remarked that Notificator app icon has a Forbidden Sign after a macOS update (see below)

screen

Resetting manually the authorizations of all apps is working fine but maybe that's something that could be improved ?

Forbidden sign over notifications?

SCR-20230419-ktlr

After an update of MacOS, something has changed and all my notifications that use notificator have this forbidden mark across the original icon. I tried to flip the notifications enabled switch for Alfred, but this did not help. Any ideas what can cause this and how to fix it?

Add support for contentImage, Reply, Dropdown Actions

First off, I just want to say that Notificator is really awesome. No more telling people to run brew install terminal-notifier :) I think that it would be even better if it had terminal-notifier's "contentImage" function, as well as alerter's Reply and Dropdown options. I realize that's asking a lot, but it would be really powerful to have those things. Thanks, happy new year 🥂

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.