Skip to content

Commit aef0da8

Browse files
authored
Merge pull request #299 from gabrielfern/master
NotifySend support for app name
2 parents be3642b + b71d6bc commit aef0da8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/utils.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ var notifySendFlags = {
4343
category: 'category',
4444
subtitle: 'category',
4545
h: 'hint',
46-
hint: 'hint'
46+
hint: 'hint',
47+
a: 'app-name',
48+
'app-name': 'app-name'
4749
};
4850

4951
module.exports.command = function(notifier, options, cb) {

notifiers/notifysend.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Object.defineProperty(NotifySend.prototype, 'notify', {
7979
}
8080
});
8181

82-
var allowedArguments = ['urgency', 'expire-time', 'icon', 'category', 'hint'];
82+
var allowedArguments = ['urgency', 'expire-time', 'icon', 'category', 'hint', 'app-name'];
8383

8484
function doNotification(options, callback) {
8585
var initial, argsList;

0 commit comments

Comments
 (0)