diff options
author | streetturtle <streetturtle@gmail.com> | 2020-12-17 15:27:00 -0500 |
---|---|---|
committer | streetturtle <streetturtle@gmail.com> | 2020-12-17 15:27:00 -0500 |
commit | 8ad4d0228dfb686309ae7a7235940dea2e5bf211 (patch) | |
tree | c1901573b1417129b08d639b60af17569588bdc0 | |
parent | 28256cd21c1107903223af9cd414d52debfb336e (diff) |
fix build
-rw-r--r-- | mpris-widget/init.lua | 5 | ||||
-rw-r--r-- | volumearc-widget/volumearc.lua | 2 |
2 files changed, 4 insertions, 3 deletions
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) diff --git a/volumearc-widget/volumearc.lua b/volumearc-widget/volumearc.lua index 86f3a14..a62abde 100644 --- a/volumearc-widget/volumearc.lua +++ b/volumearc-widget/volumearc.lua @@ -97,7 +97,7 @@ local function worker(user_args) end volumearc:connect_signal("button::press", button_press) - local rebuild_widget = function(stdout, stderr) + local rebuild_widget = function(stdout) for i = 0, #rows do rows[i]=nil end for line in stdout:gmatch("[^\r\n]+") do |