Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Luka5W committed Oct 7, 2023
1 parent c76ea14 commit 7ebd572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion volume-widget/volume.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7ebd572

Please sign in to comment.