From 8ad4d0228dfb686309ae7a7235940dea2e5bf211 Mon Sep 17 00:00:00 2001 From: streetturtle Date: Thu, 17 Dec 2020 15:27:00 -0500 Subject: fix build --- mpris-widget/init.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mpris-widget') diff --git a/mpris-widget/init.lua b/mpris-widget/init.lua index 1b6dcfc..d8620fb 100644 --- a/mpris-widget/init.lua +++ b/mpris-widget/init.lua @@ -93,7 +93,7 @@ local function rebuild_popup() layout = wibox.container.place, } - checkbox:connect_signal("button::press", function(c) + checkbox:connect_signal("button::press", function() default_player = player_name rebuild_popup() end) @@ -214,7 +214,8 @@ local function worker() awful.spawn(PREV_MPD_CMD, false) -- scroll down end - -- spawn.easy_async(string.format(GET_MPD_CMD, "'" .. default_player .. "'"), function(stdout, stderr, exitreason, exitcode) + -- spawn.easy_async(string.format(GET_MPD_CMD, "'" .. default_player .. "'"), + -- function(stdout, stderr, exitreason, exitcode) -- update_graphic(mpdarc, stdout, stderr, exitreason, exitcode) -- end) end) -- cgit v1.2.3