GithubHelp home page GithubHelp logo

Comments (8)

xxxserxxx avatar xxxserxxx commented on July 16, 2024

Thanks for bringing this up as I've been thinking about adding a config file too. I'm curious though, why not just set a persistent shell alias with the color scheme specified? I think a config file would be good for more complex customization options but I'm curious about whether the current options should be available in a config file.

from gotop.

xxxserxxx avatar xxxserxxx commented on July 16, 2024

Yea and an option to change how the CPU temp is gotten, I would love to run this software on my RPI3

from gotop.

xxxserxxx avatar xxxserxxx commented on July 16, 2024

I'm curious though, why not just set a persistent shell alias with the color scheme specified

I absolutely could do that, but if I had the option to use a config file I would prefer that since I don't like to obfuscate commands with shell aliases.Just my own personal preference though. 😄

from gotop.

xxxserxxx avatar xxxserxxx commented on July 16, 2024

@kingdevnl Is there another library to retrieve temperatures besides gopsutil? If so, we should just add its functionality to gopsutil so that it works for RPI3.

from gotop.

xxxserxxx avatar xxxserxxx commented on July 16, 2024

@cjbassi I was also contemplating adding configurable layout, and this would be a good place to set that. Doing it on the command line would be clunky.

from gotop.

xxxserxxx avatar xxxserxxx commented on July 16, 2024

@serussell Yah I was thinking that too, a config file would be better than the cli for configuring the layout. And we would probably need a way to configure the layout if we added any more widgets.

from gotop.

xxxserxxx avatar xxxserxxx commented on July 16, 2024

A pull request was submitted by @jrswab (jrswab/gotop/configFile111). The changes have the config as JSON; since the configs are not complex (and not nested), I'm suggesting we use a simple key=vaule format instead.

from gotop.

xxxserxxx avatar xxxserxxx commented on July 16, 2024

@jrswab @ghost @clinstid @kingdevnl

This has been added in the v3.3.0 in the release.

@jrswab, thanks for the patch. I ended up writing much of it from scratch because of a couple of substantial differences between Caleb's fork, such as how layouts are handled, and wanting to make sure command line flags overwrote config file values. Anyhoo, it's in.

from gotop.

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.