summaryrefslogtreecommitdiff
path: root/mpris-widget
diff options
context:
space:
mode:
authorRomanos Skiadas <rom.skiad@gmail.com>2021-10-15 17:50:12 +0300
committerRomanos Skiadas <rom.skiad@gmail.com>2021-10-15 17:51:59 +0300
commit435d5d14f89d4a2ca4c8d190d4c6840f7063431d (patch)
treec642ddf5cd06c68fe58bf901a73ac8e2c73004b4 /mpris-widget
parentc5852546ae2d7dfddc72526ca164073db86ae2db (diff)
mpris-widget: fix api call
there is no naughty.notification, notify returns a notification
Diffstat (limited to 'mpris-widget')
-rw-r--r--mpris-widget/init.lua2
1 files changed, 1 insertions, 1 deletions
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,