Have a nice weekend everbody,
I must admit that as an average guy, I don’t have so much knowledge.
I never have my own personal successful product. No remarkable achievement.
I don’t even have any formal IT education.
I just want to share a little, from what I just learn. To speed up learning process, so younger people can be better than me. Before I’m getting too old for this.
Talk is cheap. Here is the code on github account:
Awesome is a Dynamic Tiling Window Manager. For whatever that means.
What I like from Awesome is, its lua-based configuration script. Lua is a programming language. Its script is simple enough to be a short configuration file. And it is extensible for various capabilities. You can add more line that suitable for your needs. The issue is, that configuration script soon become a looong script before you know it. And you’ll get lost often in long script.
Just like any other scripting language, you can separate your script into a few short script, and call each script in their main script. With this modular design, you can focus each concern, in different script. This means you can analyse easier whenever error happened.
The original Awesome Config is ‘rc.lua’. But here, I have separated rc into [rc, my.keys, my.menu, my.volume, my.wibox]. Since I feel that my.wibox.lua is still too long to read. I also separated my.wibox into [my.wibox, my.wibox.list, my.wibox.vicious, my.wibox.multicolor]. Now I feel satisfied..
Thank you for reading.
Sorry for my english
I know how terrible it is.