Hi, * Davide Truffa <[EMAIL PROTECTED]> [2007-07-10 17:32]: > Nico Golde ha scritto: > > it would be cool if there would be a plugin like > > Plugin { > > type = userscript > > config { > > script=/home/foobar/baz.sh > > } > > } > > > > which then just displays the output of the baz.sh script in > > the panel. That would be useful for example for notebook > > users, they could just run one of the text mode acpi tools > > via the script and could see battery amount in the panel > > without installing an extra dockapp which would waste more > > space. > > Mmhh.. great idea! > What do you think about this? > > # Generic Monitor > Plugin { > type = genmon > config { > Command = echo Battery: $(acpi -b | cut -f 2 -d ",") > CharLength = 20 > PollingTime = 5 > } > } > > The plugin will be in the new version 4.9-2 of "fbpanel"[1]. > The source of genmon-plugin is in attachment.
Great that rocks, thanks! Cheers Nico -- Nico Golde - http://ngolde.de - [EMAIL PROTECTED] - GPG: 0x73647CFF For security reasons, all text in this mail is double-rot13 encrypted.
pgpH81bGRdoH8.pgp
Description: PGP signature