Skip to content

Commit

Permalink
NotifySend support for app name
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielfern committed Dec 17, 2019
1 parent b368131 commit b71d6bc
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 @@ -72,7 +72,7 @@ NotifySend.prototype.notify = function(options, callback) {
return this;
};

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 b71d6bc

Please sign in to comment.