/crystal-notify

Crystal bindings for libnotify

Primary LanguageCrystalMIT LicenseMIT

Crystal-Notify

Crystal bindings for libnotify

This library is intended to be a complete binding of all functionalities available in libnotify.

For a more lightweight version, check out libnotify.cr

Installation

Add this to your application's shard.yml:

dependencies:
  crystal-notify:
    github: schlipak/crystal-notify

Then run crystal deps

Usage

require "crystal-notify"

manager = Notify::Manager.new "MyApp"
manager.notify("Summary", "Body", "dialog-ok").show

Documentation

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • Guillaume 'Schlipak' de Matos - creator, maintainer