From 435d5d14f89d4a2ca4c8d190d4c6840f7063431d Mon Sep 17 00:00:00 2001 From: Romanos Skiadas Date: Fri, 15 Oct 2021 17:50:12 +0300 Subject: mpris-widget: fix api call there is no naughty.notification, notify returns a notification --- mpris-widget/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mpris-widget') diff --git a/mpris-widget/init.lua b/mpris-widget/init.lua index 22fd0f7..3d801ff 100644 --- a/mpris-widget/init.lua +++ b/mpris-widget/init.lua @@ -220,7 +220,7 @@ local function worker() local notification local function show_MPD_status() spawn.easy_async(GET_MPD_CMD, function() - notification = naughty.notification { + notification = naughty.notify { margin = 10, timeout = 5, hover_timeout = 0.5, -- cgit v1.2.3