mpris-widget: fix api call

there is no naughty.notification, notify returns a notification
This commit is contained in:
Romanos Skiadas 2021-10-15 17:50:12 +03:00
parent c5852546ae
commit 435d5d14f8

View file

@ -220,7 +220,7 @@ local function worker()
local notification local notification
local function show_MPD_status() local function show_MPD_status()
spawn.easy_async(GET_MPD_CMD, function() spawn.easy_async(GET_MPD_CMD, function()
notification = naughty.notification { notification = naughty.notify {
margin = 10, margin = 10,
timeout = 5, timeout = 5,
hover_timeout = 0.5, hover_timeout = 0.5,