Comments (8)
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.
Yea and an option to change how the CPU temp is gotten, I would love to run this software on my RPI3
from gotop.
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.
@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.
@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.
@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.
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.
@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)
- gotop no longer works in urxvt, works fine in xterm HOT 8
- Detected as Trojan
- Temperature for SSD is -273C HOT 3
- Battery information is not displayed. HOT 1
- Statusbar set to true in the configuration file but is not displayed
- $TERM rendering bug HOT 6
- 4.2.0 is broken HOT 1
- Temperature not showing for M2 Air HOT 5
- build from source failed on macOS HOT 1
- Only show one widget or create custom layout
- RX e TX Network for all time HOT 2
- Disk report problem on each run HOT 3
- gotop only opens keybinding overview HOT 1
- Please bump the golang.org/x/sys dependency
- 404/301 errors when trying to emerge gotop from gentoo guru repo
- Build fails because go.mod requests an outdated Go version HOT 1
- Detected as Trojan
- --nvidia and --export cannot be used at the same time
- AMD GPU support HOT 1
- gotop doesn't work in tmux HOT 3
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 gotop.