From 7ebd572f8b2a710e53572bb25fa29f000d9566ed Mon Sep 17 00:00:00 2001 From: Luka5W <74739057+Luka5W@users.noreply.github.com> Date: Sat, 7 Oct 2023 21:52:14 +0000 Subject: [PATCH] code cleanup --- volume-widget/volume.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volume-widget/volume.lua b/volume-widget/volume.lua index 39dcd99..3d3c16e 100644 --- a/volume-widget/volume.lua +++ b/volume-widget/volume.lua @@ -214,7 +214,7 @@ local function worker(user_args) if toggle_cmd == nil then spawn.easy_async(TOG_VOLUME_CMD(card, device, mixctrl), function(stdout) update_graphic(volume.widget, stdout) end) else - spawn.easy_async(toggle_cmd, function(stdout) spawn.easy_async(GET_VOLUME_CMD(card, device, mixctrl, value_type), function(stdout) update_graphic(volume.widget, stdout) end) end) + spawn.easy_async(toggle_cmd, function(_stdout) spawn.easy_async(GET_VOLUME_CMD(card, device, mixctrl, value_type), function(stdout) update_graphic(volume.widget, stdout) end) end) end end