Comments (8)
I like it. It is a simple, high impact change that should not add any complexity, nor break historic configurations.
I agree that it would work well in the situations #117 addresses
I would suggest making a PR for it (I would love to have it running in my statusbar!)
from i3status.
Sounds reasonable to me.
from i3status.
What do you think about having some new formats like format_chr, format_bat, format_full, format_unk, format_below_threshold?
from i3status.
What do you think about having some new formats like format_chr, format_bat, format_full, format_unk, format_below_threshold?
What’s the use case for that? In general, we’d like to keep mental complexity of our configuration as low as possible.
from i3status.
I use a custom BIOS setting which configures the battery to start charging at 50% and to stop at 60%. The problem that I have is related to the %remaining variable. With such settings, its value is relevant only when the battery discharges. Otherwise it indicates the remaining time until a full charge (which is wrong) or 00:00 when the upper threshold is reached (which is redundant). By having different formats I can mix the variables depending on the state of the battery.
While I agree that the proposed solution increases the mental complexity of configuration, I did not see a better solution to cover the above issues and #180
from i3status.
I use a custom BIOS setting which configures the battery to start charging at 50% and to stop at 60%
This screams “edge case” to me :). Why do you need this? Is your battery broken?
from i3status.
No it isn't broken. I just want to extend its life as I switch quite often between battery and AC adapter.
from i3status.
I have a different use case.
When the battery is charging, the "remaining time" keeps changing from empty (no output) to the actual remaining time. I'd like to be able to HIDE the remaining time while the battery is charging as this is either broken or I don't care anyway for this information.
from i3status.
Related Issues (20)
- read_file can't read with & symbol? HOT 1
- Battery `%emptytime` returns empty string HOT 1
- Increase width to 3 characters+% for CPU usage
- Volume config uses Pulseaudio port name instead of description HOT 6
- i3status doesn't distinguish between Idle and discharging battery. HOT 3
- segfault when read_file module is missing the path option
- tztime format_time stopped working? HOT 2
- print_wireless_info buffer overflow HOT 4
- battery: do not show the same value as `neofetch` HOT 1
- I have an issue with i3status about option 'order'. HOT 1
- Battery module incorrectly trims whitespace
- Ethernet iface's with @ in ifname not properly supported
- Fails to build on Mac
- wireless _first_ not working HOT 1
- i3status shows negative WiFi bitrate (integer overflow) HOT 2
- Feature request: Make space between workspace names configurable HOT 2
- Time for a new release? HOT 2
- Default Config Shows IP Address HOT 2
- Battery status strings are limited to 9 characters
- [Feature] Add horizontal padding to i3status. 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 i3status.