Sublime Text notification plugin (Windows|OSX|Linux)
- Growl support for OSX http://growl.info/
- Growl support for Windows http://www.growlforwindows.com/gfw/
- Growl support for Linux http://mattn.github.io/growl-for-linux/
- Native windows taskbar bubble notifications (requires Pywin32 - https://github.com/facelessuser/Pywin32)
- OSX Notification Support via
terminal-notifier
https://github.com/alloy/terminal-notifier - Ubuntu OSD support via
notify-send
class SubNotifyTestCommand(sublime_plugin.ApplicationCommand):
def run(self):
sublime.run_command("sub_notify", {"title": "SubNotify", "msg": "Debug test popup!", "sound": False})
By default SubNotify will try and use:
- Windows: Native taskbar notifications
- OSX: Notification Center via terminal-notifier (if the correct path is provided)
- Linux (Ubuntu): OSD via
notify-send
To enable growl, in the settings file enable the following setting:
// Attempt to enable growl if available
"enable_growl": true,
Install Pywin32: https://github.com/facelessuser/Pywin32. Make sure Growl is disabled in SubNotify.
Ensure you have notify-send
installed on your system. It should be accessible via the command line. Make sure Growl is disabled in SubNotify.
Ensure you have terminal-notifier installed https://github.com/alloy/terminal-notifier. The recommended way is to install via Ruby gem. See the repo for more info. If the path differs from the default in listed in the settings file, define the absolute path to terminal-notifier:
// terminal-notifier path for Notification Center
// Internal default when this is not defined is:
// /Library/Ruby/Gems/2.0.0/gems/terminal-notifier-1.5.1/bin/terminal-notifier
// This assumes installed with gem
"terminal_notifier_path": "/Library/Ruby/Gems/2.0.0/gems/terminal-notifier-1.5.1/bin/terminal-notifier"
- gntp https://github.com/kfdm/gntp/ (MIT License)
SubNotify is released under the MIT license.
Copyright (c) 2013 Isaac Muse isaacmuse@gmail.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.