Comments (13)
What do you think in changing "BAT:" to "⚡" sign?
You can find it here http://www.utf8-chartable.de/unicode-utf8-table.pl?start=9728&utf8=string-literal as HIGH VOLTAGE SIGN.
from i3blocks.
Looks great!
from i3blocks.
However it seems not working for me in the status bar. Is it for you ?
from i3blocks.
Yes, this does the job:
[test]
full_text=⚡
from i3blocks.
I had a few changes to your script, like using acpi -b, $! on error, and flatten a bit: https://gist.github.com/vivien/9965922
What do you think? If it's ok for you I'll merge it.
from i3blocks.
I like your commit. Thanks for adding the GPL license. However, I do not really like the arrow at the end. It would be preferable to add just before the '(' or before charging sign:
- ⚡ 87% ↘(00:20)
- ⚡↘ 87% (20:00)
The arrow at the end is not implicit in my opinion. Just adding near to the charging sign is the best to understand the meaning, however not the best rendering. That's why I purpose the other solution.
My 2 cents
from i3blocks.
I agree, I'll go with the 2nd one, looks better:
The gist is updated, I'll merge it soon. :)
from i3blocks.
I'm wondering if the first (⚡ 87% ↘(00:20)) is not better. 2 symbol just so close is not easily readable in fact :-(
from i3blocks.
Makes sense, I'll change that
from i3blocks.
Merged, thanks!
from i3blocks.
Thanks to you :-)
from i3blocks.
I was wondering something regarding color. What do you think about removing color when charging ?
from i3blocks.
Good idea. I'll push a fix.
from i3blocks.
Related Issues (20)
- How do I tell i3blocks to refresh all blocks? HOT 2
- block freezing my status bar HOT 2
- battery regexp breaks with two batteries HOT 1
- `autogen.sh` Generates a `configure` File that Tries to Call Autoconf macro `PKG_CHECK_MODULES` HOT 1
- [Feature Request] Add ticker support
- I'm having trouble getting fixed-width strings to work on i3blocks. HOT 1
- Block's character will turn into "[" character after clicked and turn normal after sway is reloaded. HOT 1
- Can't use the config variable when running the script using i3-msg -q exec myscript HOT 4
- Simple way to display title of focused window in i3blocks HOT 2
- i3blocks does not show anything except datetime HOT 3
- dmenu hang when called from i3blocks with -fn option
- Battery regex in example doesn't handle 100% HOT 2
- Trouble with setting a label with emoji via the json format HOT 1
- Any script with a 'for' loop doesn't produce any output
- How to get back monochrome icons / emojis? Weird font issue!
- Question: is running a secondary command when clicking a button with an interval possible? HOT 1
- Change the color of borders from within a script
- If I launch a graphical program from a block and restart i3, the program dies even if disowned. HOT 2
- malformated line again HOT 1
- i3block config not work
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 i3blocks.