X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/315106253f0bd8a218ffc06f8c2b9d2781372e78..6cdc863f0038910523e2bce56c9091ccc78f80e6:/widgets/mpd.lua diff --git a/widgets/mpd.lua b/widgets/mpd.lua index d8bcd78..1749b57 100644 --- a/widgets/mpd.lua +++ b/widgets/mpd.lua @@ -10,7 +10,6 @@ local helpers = require("lain.helpers") local escape_f = require("awful.util").escape -local surface = require("gears").surface local naughty = require("naughty") local wibox = require("wibox") @@ -92,7 +91,7 @@ local function worker(args) mpd.id = naughty.notify({ preset = mpd_notification_preset, - icon = surface.load_uncached("/tmp/mpdcover.png"), + icon = "/tmp/mpdcover.png", replaces_id = mpd.id }).id end