https://github.com/manuelmazzuola/tmux-current-power
Simple tmux plugin to display the power consumption
https://github.com/manuelmazzuola/tmux-current-power
Last synced: 2 months ago
JSON representation
Simple tmux plugin to display the power consumption
- Host: GitHub
- URL: https://github.com/manuelmazzuola/tmux-current-power
- Owner: manuelmazzuola
- Created: 2015-06-07T14:54:46.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-07T15:17:18.000Z (about 10 years ago)
- Last Synced: 2025-02-09T16:42:37.268Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 129 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tmux current power
Enables displaying power consumption in tmux status-right.
### Usage
Add `#{power_consumption}` format strings to existing `status-right` tmux option. Example:
# in .tmux.conf
set -g status-right "C#{cpu_percentage} B#{battery_percentage} W#{power_consumption}| %a %h-%d %H:%M "### Installation with [Tmux Plugin Manager](https://github.com/tmux-plugins/tpm) (recommended)
Add plugin to the list of TPM plugins in `.tmux.conf` and hit prefix + I to fetch the plugin:
set -g @tpm_plugins ' \
tmux-plugins/tpm \
manuelmazzuola/tmux-current-power \
'