Comments (10)
Which OS are you using?
from .tmux.
from .tmux.
So all in all, I guess I should average charge of both batteries. What do you think?
from .tmux.
Yes, average would be great.
I made a branch that's not really working yet. Still have to tweak the code.
https://github.com/yuntsewu/.tmux/commit/a25ba
First time trying to contribute so is probably not in the right direction.
from .tmux.
I added a Linux implementation to the multiple-batteries
branch. Can you give it a spin?
Also, if you happen to have a laptop with more than a single battery and running windows, I'm curious about the output of the following commands:
wmic path Win32_Battery
wmic path Win32_Battery Get BatteryStatus
wmic path Win32_Battery Get EstimatedChargeRemaining /format:list
from .tmux.
It didn't work
looks like you are trying to grab data from /tmp/sys/class/power_supply/BAT$batid, it doesn't exist on my (fedora 25) os
Data is retrieved from:
$ cat /sys/class/power_supply/BAT*/capacity
99
85
from .tmux.
damn forgot to remove the /tmp/
prefix, I was just simulating things. Fixed, please pull.
from .tmux.
Two thumbs up, thanks for the quick respond. Now I can use this in full screen in less distracted mode
from .tmux.
Since I can't get my hands on a laptop with two batteries, do you happen to know people running Windows with two batteries?
from .tmux.
hmm, because you want to test the same feature change on Windows...
Popular laptops today would be surface book and Thinkpad T or P series (which I use) that has two batteries.
I don't know anyone who run those and Windows around me. But people who use the models above would be the one's you want to hunt down.
from .tmux.
Related Issues (20)
- Auto update for update OMT configuration HOT 2
- Question: where is the configuration related to `prefix + s` to show a list of tmux sessions? HOT 2
- .tmux/plugins is deleted on tmux start - Ubuntu 23.10 HOT 2
- Why is the status bar always a little further from the bottom? HOT 3
- Styling breaks since 7e00233 HOT 9
- Why first tmux start for plugins is so slow? HOT 8
- Mouse selection on tmux not being copied over to os clipboard on fedora wayland HOT 7
- Consider renaming `.tmux.conf.local` to `.tmux.config.local.example` HOT 5
- When using nix sysctl on MacOS, the '-q' option is not available causing the uptime display to be broken HOT 6
- Show ssh hostname in choose-tree for pane
- SSH Hostname Not Displayed Correctly on Status Right/Left HOT 9
- tmux uses wl-copy instead of xclip/xsel in X11 environment HOT 5
- tmux 3.4-1 prints weird characters on every startup HOT 3
- Question: How to enable "copy-selection-no-clear" option? HOT 5
- conflict with vim < C-b >? HOT 4
- copy mode is trippin with mouse HOT 4
- `tmux_conf_battery_bar_palette="#xxxxxx,#yyyyyy,#zzzzzz"` seems broken HOT 4
- What is the recommended way to do theme customization? HOT 2
- When using {battery_vbar} or {battery_hbar}, the battery status display does not take effect. HOT 1
- Changing prefix to <C-s> works but <C-a> continues to be another prefix even after unbind HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from .tmux.