Wez Furlong e992ac7ad0 lua: add wezterm.battery_info() function
Queries the system battery information and returns an array of
battery information.

Each element is a lua table with the following entries:

* state_of_charge: expressed as percents
* vendor: the battery manufacturer
* model: the battery model
* serial: the battery serial number
* time_to_full: how long until the battery is full
* time_to_empty: how long until the battery is empty
* state: "Charging", "Discharging", "Empty", "Full", "Unknown"

I haven't run this on a system with a battery yet, so I'm holding
off from showing an example until I've got a work one.

refs: https://github.com/wez/wezterm/issues/500
2021-03-06 14:25:36 -08:00
2021-02-28 13:35:00 -08:00
2020-10-04 21:47:12 -07:00
2019-06-08 21:28:11 -07:00
2021-01-25 21:35:47 -08:00
2021-03-06 11:32:15 -08:00
2020-12-29 09:24:34 -08:00
2020-12-29 09:24:34 -08:00
2020-10-03 11:15:57 -07:00
2021-03-06 13:58:55 -08:00
2021-03-02 09:52:54 -08:00
2021-02-28 09:43:26 -08:00
2021-03-04 23:23:09 -08:00
2021-02-07 09:51:55 -08:00
2021-02-03 21:56:30 -08:00
2021-02-16 22:27:37 -08:00
2019-03-22 20:41:50 -07:00

Wez's Terminal

WezTerm Icon A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust

User facing docs and guide at: https://wezfurlong.org/wezterm/

Screenshot

Screenshot of wezterm on macOS, running vim

Installation

https://wezfurlong.org/wezterm/installation.html

Getting help

This is a spare time project, so please bear with me. There are a couple of channels for support:

The GitHub Discussions and Element/Gitter rooms are better suited to questions than it is to bug reports, but don't be afraid to use whichever you are most comfortable using and we'll work it out.

S
Description
The agentic terminal: a WezTerm fork with LLeMbas built in
Readme MIT
316 MiB
0 Stars 2 Watchers 0 Forks
Languages
Rust 97.7%
Python 1%
Shell 0.9%
Nix 0.2%