Browse files

support transient notifications in Gnome

  • Loading branch information...
1 parent f36139e commit f7d592cc3b0f0a00a0441bc9429db96943efcbaf @fgnass fgnass committed Oct 22, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/growl.js
View
2 lib/growl.js
@@ -165,6 +165,8 @@ function growl(msg, options, fn) {
break;
case 'Linux':
args.push(cmd.icon + " " + image);
+ // libnotify defaults to sticky, set a hint for transient notifications
+ if (!options.sticky) args.push('--hint=int:transient:1');
break;
case 'Windows':
args.push(cmd.icon + quote(image));

0 comments on commit f7d592c

Please sign in to comment.