X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/2cfc5650ade76cb72637310f134fc5db9e4d81a0..b60b9b7c2d65a5c5f8e68fbec27665e9abb99f76:/widgets/mpd.lua?ds=sidebyside 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