[linux-l] yacpi
Nico Golde
nion at gmx.net
Mi Jan 5 18:11:04 CET 2005
Hallo Ivan,
* Ivan Villanueva <iv at artificialidea.com> [2005-01-05 17:59]:
> On Wed, Jan 05, 2005 at 02:32:15AM +0000, Oliver Beck wrote:
> > On Tue, 4 Jan 2005 23:30:19 +0100
> > Nico Golde <nion at gmx.net> wrote:
> >
> > > http://nico.f-451.net/tmp/shot.jpg
> >
> > <scherz>
> >
> > Das jetzt in einen Ein- maximal Zwei-zeiler packen, nen shell-warpper
> > drum basteln und das oben oder unten darstellen. =)
> >
> > </scherz>
>
> Kann man es nicht in PS1 einbauen ? Dann wäre der Prompt so etwas wie:
> [100%BatteryOn$ivan at rechner:ivan]>
hab ich nicht probiert, aber das ist auch nicht das, was ich
will.
> Beispiel:
> PS1=[`cat /proc/acpi/batt_status`$\u ...]>
>
> Ich habe es gerade probiert und es geht !
was steht in batt_status?
gruß nico
--
Nico Golde - 310777820 at ICQ | GPG: 1024D/73647CFF ,'"`.
nico at ngolde.de | http://www.ngolde.de ( grml.org
VIM has two modes - the one in which it beeps `._,'
and the one in which it doesn't -- encrypted mail preferred
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname : signature.asc
Dateityp : application/pgp-signature
Dateigröße : 189 bytes
Beschreibung: Digital signature
URL : <https://mlists.in-berlin.de/pipermail/linux-l-mlists.in-berlin.de/attachments/20050105/b72757e9/attachment.sig>
Mehr Informationen über die Mailingliste linux-l