Bashets

From awesome

Jump to: navigation, search

Bashets is a distinct approach to Awesome widgets. This library allows you to use your existing shellscripts as a content providers for widgets.

[edit] Why Bashets

We have a great bunch of shellscripts on the Web or written by ourselves for system monitoring purposes. Many of them are written for tools such as Conky to be content providers. So,

  • Why it's not the same for Awesome widgets?
  • Why do we need to write more or less complicated Lua scripts to provide system data for widgets?

Yes, it's reasonable in the case of interactive widgets with complex behaviour. But for simple widgets 'tis not true.

  • That's why in Bashets you only need to provide a script filename and formatting options.

It's much more powerful than to rely on developer's aims and to wait until needed widget is implemented as a part of Vicious, Obvious, etc.

[edit] How to use Bashets

Bashets homepage is:

For the first time you will need to read a brief introduction to see implemented functions.

Also you could be interested in existing configuration file using Bashets. It's here:

For a screenshot you can see this one:

Bottom widgets are all implemented with the help of Bashets. If you need example shellscripts, they are here:

[edit] Postscriptum

As frequently said, tsar's one if for tsar and God's one is for God. Shellscript is a great tool for system information retrieval. Awesome's config is a great tool for managing Awesome. That's why Bashets passes all retrieval tasks for Bash/Perl/Python/etc., and widget appearance task - for Awesome.

Personal tools