On Sun, Feb 21, 2010 at 04:12:31PM +0100, Christophe-Marie Duquesne wrote: > Why not use awesome-client? Then you could trigger your scripts by > yourself, or with filesystem events with incron... > > BTW, if you are looking for code snippets for communicating with > awesome through dbus, this is the program to look at. > > -- > Christophe-Marie Duquesne > 06 84 14 26 82 - mobile > 04 76 57 48 06 - g-scop > 04 97 04 27 33 - amadeus > > -- > To unsubscribe, send mail to [email protected]. >
The short and useless answer is, because I wanted to ;-) Mostly, it had to do with my rather crummy understanding of bash scripting. I looked at examples of using awesome-client and uzbl and the punctuation made my eyes hurt. I took a look at awesome-client and I reasoned that passing the info to a python script might be a little more straight forward, and readable, and I was correct. As to your second point, it was only after realizing that awesome-client is a bash-script that I decided to give the python route a go. My piece of python code is minimal and not nearly as flexible as awesome-client. I basically was looking to get something working. To be clear, I'm not averse to using awesome-client. It just didn't seem like the greatest fit, by my estimation, in this case. Those who are fluent in bash-scripting would likely have taken a different route. Regards- Gerry LaMontagne
signature.asc
Description: Digital signature
