I made the commit. It should be accepted in the next hour.

2011/9/1 Adam Jimerson <[email protected]>:
> Thank you I made the suggested changes and it seems to be working just fine!
>
> Jörg Thalheim wrote:
>> Actually there is no bug tracker for vicious.
>> If the following helps, I will make a commit.
>> Add this between the "Grab enviroment" tags:
>>
>> local math = {
>>       floor = math.floor
>> }
>>
>> ... and replace the line:
>>    return { vol/0x10000*100, "on"}
>> with:
>>    return { math.floor(vol/0x10000*100), "on"}
>>
>> Good luck.
>>
>>
>> 2011/8/31 Adam Jimerson <[email protected]>:
>>> In asking this I am assuming that bugs in Vicious widgets should be
>>> reported outside of the bug tracker used by Awesome, if this is so where
>>> should Vicious related bugs be reported?  My reason for asking this is I
>>> am using the vicious.contrib.pulse widget to manage the volume of my
>>> pulseaudio default sink, if the volume is anything other than o% or 100%
>>> the volume level is treated more like a float than an integer. For
>>> example according the the widget my sound cards volume is currently
>>> 59.98535156225% instead of just rounding to say 60%.  Looking at the lua
>>> code I see that it calls "tonumber()" on the value but it doesn't seem
>>> to do the trick, unless tonumber doesn't convert decimal numbers to real
>>> numbers, I'm not very experienced in Lua so I'm not sure.  My version of
>>> Vicious is from 2011-07-31 and don't see any changes to the pulse widget
>>> sense then.
>>>
>>> --
>>> To unsubscribe, send mail to [email protected].
>>>
>>
>>
>>
>
>



-- 
Gruß Jörg

--
To unsubscribe, send mail to [email protected].

Reply via email to