From: Daniel Shahaf <danielsh@apache.org>
To: "shirish शिरीष" <shirishag75@gmail.com>
Cc: zsh-workers <zsh-workers@zsh.org>, Adam <adam@spiers.net>
Subject: Re: [FEATURE REQUEST] Adding battery power to bigfade prompt
Date: Tue, 27 Dec 2016 13:09:25 +0000 [thread overview]
Message-ID: <20161227130925.GB4796@fujitsu.shahaf.local2> (raw)
In-Reply-To: <CADdDZRnbeA_hGtXE5EVnvybwN842KO=YLaz76Up+CxC=C2rOWw@mail.gmail.com>
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)
next prev parent reply other threads:[~2016-12-27 13:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-26 20:21 shirish शिरीष
2016-12-27 13:09 ` Daniel Shahaf [this message]
2016-12-27 20:47 ` shirish शिरीष
2016-12-29 10:19 ` Vincent Lefevre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161227130925.GB4796@fujitsu.shahaf.local2 \
--to=danielsh@apache.org \
--cc=adam@spiers.net \
--cc=shirishag75@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).