Making a Status Bar (Lua script)

From awesome
Jump to: navigation, search

How to get a status bar (lua or awk)

Another setup might work like this:

in the ~/.xinitrc file:

awesome-status &

what calls this:

~/bin/awesome-status

It waits until awesome has started and calls this lua script:

~/bin/awesome-status.lua

Just in case, I used to use this awk program:

~/bin/awesome-status.awk

(Attention: you may need to tune the output to your desire - my awesome is the latest git)

If you want to add items/or improve things, you may send them to the awesome mailing list, add it to the wiki, or send it to mac at calmar.ws so that I can add it.

You may need to fine tune some function to match your system.

A single script in a single language (whatever...), is much nicer to the resources, at least compared to a bash-script.

An example configuration in the ~/.awesomerc might look like: [[1]]

The script matches this awesomerc file (what also has some patched changes you need to correct (e.g. awesome -k):

~/.awesomerc
Personal tools