summaryrefslogtreecommitdiff
path: root/mpris-widget/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mpris-widget/init.lua')
-rw-r--r--mpris-widget/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpris-widget/init.lua b/mpris-widget/init.lua
index 5af85b4..4651b45 100644
--- a/mpris-widget/init.lua
+++ b/mpris-widget/init.lua
@@ -29,7 +29,7 @@ local LIBRARY_ICON_NAME = PATH_TO_ICONS .. "/actions/24/music-library.png"
local mpdarc_widget = {}
-local function worker(args)
+local function worker()
-- retriving song info
local current_song, artist, mpdstatus, art, artUrl
@@ -123,7 +123,7 @@ local function worker(args)
local notification
local function show_MPD_status()
- spawn.easy_async(GET_MPD_CMD, function(stdout, _, _, _)
+ spawn.easy_async(GET_MPD_CMD, function()
notification = naughty.notification {
margin = 10,
timeout = 5,