Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pwittchen/tmux-plugin-battery
tmux plugin showing battery level
https://github.com/pwittchen/tmux-plugin-battery
battery linux macos plugin tmux tmux-plugin
Last synced: 27 days ago
JSON representation
tmux plugin showing battery level
- Host: GitHub
- URL: https://github.com/pwittchen/tmux-plugin-battery
- Owner: pwittchen
- License: apache-2.0
- Created: 2017-08-06T06:00:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-06T07:33:16.000Z (over 7 years ago)
- Last Synced: 2024-11-07T20:52:25.295Z (3 months ago)
- Topics: battery, linux, macos, plugin, tmux, tmux-plugin
- Language: Shell
- Size: 12.7 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
tmux-plugin-battery
===================
tmux plugin showing battery levelThere's already another plugin for the same thing called [tmux-battery](https://github.com/tmux-plugins/tmux-battery), but this one is just simpler and adjusted to my needs.
Installation
------------
### Installation with [Tmux Plugin Manager](https://github.com/tmux-plugins/tpm) (recommended)Add plugin to the list of TPM plugins in `.tmux.conf`:
```
set -g @plugin 'pwittchen/tmux-plugin-battery'
```Hit `prefix + I` to fetch the plugin and source it.
If format strings are added to `status-right`, they should now be visible.
Usage
-----In order to see battery level via this tmux plugin, add the following command to your `.tmux.conf` file:
```
#{battery_level}
```References
----------
- https://github.com/tmux-plugins
- https://github.com/tmux-plugins/tmux-example-plugin
- https://github.com/tmux-plugins/tmux-battery
- https://github.com/pwittchen/dotfiles