Giter VIP home page Giter VIP logo

Comments (12)

obihann avatar obihann commented on July 21, 2024

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.

obihann avatar obihann commented on July 21, 2024

@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.

jhersh avatar jhersh commented on July 21, 2024

@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.

obihann avatar obihann commented on July 21, 2024

πŸ‘Ž thats too bad. Could you run 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.

jhersh avatar jhersh commented on July 21, 2024

No output ("capacity" does not appear anywhere in ioreg -l)

from archey-osx.

obihann avatar obihann commented on July 21, 2024

I think I see it now! I should have this fixed shortly.

from archey-osx.

obihann avatar obihann commented on July 21, 2024

6050fbc should fix this, let me know if not πŸ‘

from archey-osx.

jhersh avatar jhersh commented on July 21, 2024

πŸ‘πŸ†’πŸ’―

from archey-osx.

obihann avatar obihann commented on July 21, 2024

Sweet! Thanks.

from archey-osx.

nilstgmd avatar nilstgmd commented on July 21, 2024

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.

obihann avatar obihann commented on July 21, 2024

@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.

nilstgmd avatar nilstgmd commented on July 21, 2024

@obihann Great πŸ‘πŸΏ Thanks for fixing this :shipit:

from archey-osx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.