Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [FEATURE REQUEST] Adding battery power to bigfade prompt



shirish शिरीष wrote on Tue, Dec 27, 2016 at 01:51:28 +0530:
> It would be nice if either bigfade or some other prompt adds battery
> power to its prompt, please.

How would that be done portably?  The tool to use is ioreg(8) on OS X,
apm(8) on FreeBSD, and acpi(8) on Linux; and I'm not sure whether
acpi(8) exists in all Linuxes.

Cheers,

Daniel
(I have battery info in my tmux status line)



Messages sorted by: Reverse Date, Date, Thread, Author