Hi. I saw recently mail here, where someone was talking about cpu usage of awesome process. So I checked mine and it was also about 20%. It was caused by the volume widget (the bottommost) here: https://awesome.naquadah.org/wiki/Volume_control_and_display. So I made a small update and called

update_volume(volume_widget)

on keypress right after changing the volume - it works fine, but it is one step behind (I press the keys, amixer gets called, widget updates and then volume updates). Is there any way to solve that better (listening some event, sleep function)?

Reply via email to