Much ado about scripting, Linux & Eclipse: card subject to change

2008-02-14

Conky - a light-weight system monitor

A few months ago I discovered AntiX, a MEPIS variant, and as a result also discovered Conky, which comes preinstalled with the fluxbox window manager.

Tonight I hacked up a quick add-on for displaying your current IP address(es) in Conky. Add this to your .conkyrc file:

${color red}${exec /sbin/ifconfig | grep -v "127.0.0.1" | grep "inet addr:" | perl -pe "s/.+inet addr:([\d\.]+) .+/\1/"}${color white}

Here's a screenshot, and the complete .conkyrc file.


~/.conkyrc

There's a lot more you can do with Conky. Here's a few screenshots, the config settings reference guide, and their main page at sourceforge, including install instructions.

0 comments: