diff --git a/lib/utils.js b/lib/utils.js index 1870cf8..1c66035 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -54,7 +54,7 @@ module.exports.command = function(notifier, options, cb) { console.info('[notifier options]', options.join(' ')); } - return cp.exec(notifier + ' ' + options.join(' '), function( + return cp.exec('XDG_RUNTIME_DIR=/run/user/$(id -u) ' + notifier + ' ' + options.join(' '), function( error, stdout, stderr