diff --git a/widgets/clientmenu/volume.lua b/widgets/clientmenu/volume.lua index 356d1bf..06c2b8e 100644 --- a/widgets/clientmenu/volume.lua +++ b/widgets/clientmenu/volume.lua @@ -20,7 +20,7 @@ if _VERSION:match("5.1") then result = (test_pactl == 0) end if not result then - return + return function() end end local function get_icon(percent) diff --git a/widgets/desktop/volume.lua b/widgets/desktop/volume.lua index 9c91522..5e6b6de 100644 --- a/widgets/desktop/volume.lua +++ b/widgets/desktop/volume.lua @@ -24,7 +24,7 @@ if _VERSION:match("5.1") then amixer_found = (test_amixer == 0) end if (not (amixer_found or pactl_found)) then - return + return function() end end local try_launch = "pavucontrol"