Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm using Awesome window manager and have a textbox widget that I want to update with the current brightness level on an arbitrary interval of my choosing. Is there anyway to do this with Awesome and if so, how?

share|improve this question
add comment

1 Answer

This is a great question. It's mostly covered by using the information on the widgets in awesome page. I havent set it up myself, but intend to use the same concepts for other functions. I'd use a combination of awful.widget.progressbar (brightness level is 0-100%). If you wanted to use your textbox, you can. add a signal to a timer widget that updates the text property of your textbox or use the set_value() if you want to use the Progressbar. Checkout the large list of lua extensions that are packaged as libraries. There may be one that already does what you want or something very similar.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.