Following is a simple new mail notification implementation for the awesome window manager that leverages procmail. It’s main virtue is simplicity: there are about 20 lines of python code, 1 procmail recipe and several lines of code required in the rc file for awesome. The result is a numeric count of new email displayed in the statusbar.
Tag: dbus
I’ve managed to get uzbl and awesome to talk with one another. Without using awesome-client and uzblctrl or socat. It turned out, upon further examination, that awesome-client is just a bash script for communicating on dbus and uzblctrl is just a simple c program for communicating over a socket.
These findings suggested that if I could get Lua to talk over a socket and if I could come up with a python script to talk over dbus, I would have a more flexible means for getting uzbl and awesome to talk with one another. Luckily for me, python has a dbus module and lua has luasockets.