This commit is contained in:
luke bonham 2014-04-05 12:06:32 +02:00 committed by copycat-killer
parent 284e4b4347
commit 315106253f
1 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@
local helpers = require("lain.helpers") local helpers = require("lain.helpers")
local escape_f = require("awful.util").escape local escape_f = require("awful.util").escape
local surface = require("gears").surface
local naughty = require("naughty") local naughty = require("naughty")
local wibox = require("wibox") local wibox = require("wibox")
@ -91,7 +92,7 @@ local function worker(args)
mpd.id = naughty.notify({ mpd.id = naughty.notify({
preset = mpd_notification_preset, preset = mpd_notification_preset,
icon = "/tmp/mpdcover.png", icon = surface.load_uncached("/tmp/mpdcover.png"),
replaces_id = mpd.id replaces_id = mpd.id
}).id }).id
end end