Merge branch 'master' of 512mb.org:Yessiest/reno

This commit is contained in:
Yessiest 2023-03-04 15:25:50 +04:00
commit 39ca509391
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ if _VERSION:match("5.1") then
result = (test_pactl == 0) result = (test_pactl == 0)
end end
if not result then if not result then
return return function() end
end end
local function get_icon(percent) local function get_icon(percent)

View File

@ -24,7 +24,7 @@ if _VERSION:match("5.1") then
amixer_found = (test_amixer == 0) amixer_found = (test_amixer == 0)
end end
if (not (amixer_found or pactl_found)) then if (not (amixer_found or pactl_found)) then
return return function() end
end end
local try_launch = "pavucontrol" local try_launch = "pavucontrol"