Skip to content

A small utility to push notifications with ease (Mac OS)

License

Notifications You must be signed in to change notification settings

mohamedanees6/notify-mac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

notify-mac

What is this about?

Ever needed a notification for your build completion running on terminal?

Worry not, this small function would do that with ease! Just append your build command with ; notify-sys 'Build Complete' 'Your background build has completed'

How to use?

  1. Pull in the utility script by using cURL.

curl https://raw.githubusercontent.com/mohamedanees6/notify-mac/master/notify-mac >> ~/.notify-mac

  1. Just type in

echo 'source ~/.notify-mac' >> ~/.bash_profile

This causes your bash_profile to include notify-mac everytime it is initialized.

  1. Type in source ~/.bash_profile to reinitialize all the configured functions and methods.

Test it by typing notify-sys Hello World.

Sample Usage

Oh this simple tool has infinite possibilities, add it to almost anything you want to be processed in the background.

<Your build command here> ; notify-sys 'My Local build on project XYZ is Complete'

<Your huge cURL download> ; notify-sys 'Download complete cURL huge.txt'

And what not!

Revert back

Oh Sad. But, Thanks for trying out my little program!

You can remove the changes by typing in rm ~/.notify-mac and remove the line source ~/.notify-mac from your ~/.bash_profile using any text editor.

About

A small utility to push notifications with ease (Mac OS)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published