Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

Enhancement Request: Configuration file #111

Open
clinstid opened this issue Feb 14, 2019 · 6 comments
Open

Enhancement Request: Configuration file #111

clinstid opened this issue Feb 14, 2019 · 6 comments
Labels
enhancement New feature or request

Comments

@clinstid
Copy link

clinstid commented Feb 14, 2019

It would be great if gotop supported loading configuration from a file for the command line options. I would love to be able to set my color scheme once and then just run gotop directly. It looks like gotop is already pulling in ProtonMail/go-appdir for loading custom color schemes so it seems like it wouldn't be too much more to add support for a config file.

@cjbassi
Copy link
Owner

cjbassi commented Feb 15, 2019

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.

@kingdevnl
Copy link

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

@clinstid
Copy link
Author

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

@cjbassi cjbassi added the enhancement New feature or request label Feb 23, 2019
@cjbassi
Copy link
Owner

cjbassi commented Feb 27, 2019

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

@ghost
Copy link

ghost commented Mar 2, 2019

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

@cjbassi
Copy link
Owner

cjbassi commented Mar 2, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants