Skip to content

Commit b71d6bc

Browse files
committed
NotifySend support for app name
1 parent b368131 commit b71d6bc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/utils.js

Lines changed: 3 additions & 1 deletion
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ NotifySend.prototype.notify = function(options, callback) {
7272
return this;
7373
};
7474

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

7777
function doNotification(options, callback) {
7878
var initial, argsList;

0 commit comments

Comments
 (0)