Skip to content

Commit

Permalink
Merge pull request #299 from gabrielfern/master
Browse files Browse the repository at this point in the history
NotifySend support for app name
  • Loading branch information
mikaelbr committed Apr 8, 2020
2 parents be3642b + b71d6bc commit aef0da8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/utils.js
Expand Up @@ -43,7 +43,9 @@ var notifySendFlags = {
category: 'category',
subtitle: 'category',
h: 'hint',
hint: 'hint'
hint: 'hint',
a: 'app-name',
'app-name': 'app-name'
};

module.exports.command = function(notifier, options, cb) {
Expand Down
2 changes: 1 addition & 1 deletion notifiers/notifysend.js
Expand Up @@ -79,7 +79,7 @@ Object.defineProperty(NotifySend.prototype, 'notify', {
}
});

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

function doNotification(options, callback) {
var initial, argsList;
Expand Down

0 comments on commit aef0da8

Please sign in to comment.