Comments (6)
I've made an update to get a standard horizontal size output and fixed a little bug
from i3blocks.
If you add the GPL license, it is ready to merge for me. But we also could find a CPU icon to replace by 'CPU:'. What do you think about: ⌑
from i3blocks.
I updated the icon. It's not recommended to add sign directly in the code as we can have printing issues. In addition, I added a new version with fixed width size. Let me know what do you think about the new icon. I think it could be then merged
from i3blocks.
Any news?
from i3blocks.
Printing an utf-8 char directly is ok if you set stdout's binmode. I don't really like the ⌑ char, it really looks like a window, and with the percentage, it's not really clear what this block is about. I prefer to drop this.
from i3blocks.
How should looks like a CPU for you? In my opinion, the closest to what a physical CPU looks like is a square: https://www.google.fr/search?q=cpu&source=lnms&tbm=isch&sa=X&ei=ucFUU-7_BIjsOsuRgcgJ&ved=0CAgQ_AUoAQ&biw=1536&bih=770
If you do not have any purpose for the icon, I suggest to add an extra argument in the check to replace text by icon. What do you think?
On little resolution, if we add text on each checks, it is not possible to show everything. In my use case, I got the issue on a vertical oriented screen.
from i3blocks.
Related Issues (20)
- [Feature Request] Multiple config files
- Two consecutive signals crash block until next timeout HOT 1
- Block not showing HOT 4
- Add instructions for default scripts configuration HOT 1
- Enable utf-8 string in i3blocks
- Persistent command does not actually persist HOT 3
- 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
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.