summaryrefslogtreecommitdiff
path: root/mpris-widget
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@gmail.com>2020-12-05 20:57:04 -0500
committerstreetturtle <streetturtle@gmail.com>2020-12-05 20:57:04 -0500
commita0cd854a4d36167456bb28d255bf96a32321bf2a (patch)
treeb42aa4e39d0b46144ed64d1d4f20e90c28465d3d /mpris-widget
parentd9eb3885eea90e06b79ff8fc4b2d1c1b8f5e4cfd (diff)
fix more warnings
Diffstat (limited to 'mpris-widget')
-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,