Comments (12)
Thanks for noticing this, I'll look into both and try to get them taken care of before 1.5.x is released into homebrew.
from archey-osx.
@jhersh Could you do me a favour and verify that 5194561 hides the battery field for you without causing any new issues? I don't have a machine without a battery so I can only make an assumption this will work. Thanks!
edit: changed to a different commit
from archey-osx.
@obihann Thanks for checking into this! Unfortunately it's still there:
[0] % git rev-parse HEAD
fa463d4c9d3b213cb9b55c231c6eb3d090c278a6
[0] % gb
* master
[0] % bin/archey -o
### User: jh
#### Hostname: jhmp
### Distro: OS X 10.11.1
####### ####### Kernel: Darwin
###################### Uptime: 8 days
##################### Shell: /usr/local/bin/zsh
#################### Terminal: xterm-256color iTerm.app
#################### Packages: 7
##################### CPU: Intel Xeon CPU E5-1680 v2 @ 3.00GHz
###################### Memory: 32 GB
#################### Disk: 44%
################ Battery:
#### #####
One other minor thing I noticed:
[0] % bin/archey -co
Unknown argument: -co
For help, use: bin/archey --help
Looks like it wants archey -c -o
instead.
from archey-osx.
ioreg -l | grep -i capacity | tr '\n' ' | ' | awk '{printf("%.2f%%", $10/$5 * 100)}'
and paste me the output? Then I should know exactly what users see when they have no battery, and I can filter it from there. Thanks.
from archey-osx.
No output ("capacity" does not appear anywhere in ioreg -l
)
from archey-osx.
I think I see it now! I should have this fixed shortly.
from archey-osx.
6050fbc should fix this, let me know if not
from archey-osx.
from archey-osx.
Sweet! Thanks.
from archey-osx.
thanks for resolving the battery issue, any news on the IP fetching? I have the exact problem when using the corporate wireless network. Thx
from archey-osx.
@nilstgmd I added two features that are now in master and 1.5.1 PR, one is the addition of a -o flag that disables the IP check, the other is caching of the IP. Basically we store your IP in ~/.archey-ip and next time we load if that file is less than 6 hours old we just read it instead of checking again.
from archey-osx.
@obihann Great ππΏ Thanks for fixing this
from archey-osx.
Related Issues (20)
- archey help misalignment HOT 2
- i can't remaster automatically manually HOT 4
- π%%
- add local machine ip addressοΌ HOT 2
- Calculating disk usage - hangs for ~10 seconds
- eth0.me is unreachable HOT 9
- New release? HOT 1
- binary operator expected Error when run "archey"
- eth0.me is down HOT 6
- Archey wont launch on startup of my terminal HOT 1
- It seems that archey expects system awk but system sed
- archer doesn't show IP HOT 3
- There isn't a --localip option, but the README says there is HOT 6
- Stuck, cannot get IP address HOT 1
- Turn off the Apple HOT 1
- Archey Hangs HOT 3
- "random" logofile
- Previous site to get IP info has moved HOT 2
- IP address weird message HOT 2
- machdep: class is not implemented
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 archey-osx.