mirror of
https://github.com/streetturtle/awesome-wm-widgets.git
synced 2024-11-17 07:49:09 +01:00
mpris-widget: fix api call
there is no naughty.notification, notify returns a notification
This commit is contained in:
parent
c5852546ae
commit
435d5d14f8
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue