Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add option to show only widget passed through commandline argument #39

Closed
xxxserxxx opened this issue Feb 15, 2020 · 4 comments
Labels
enhancement New feature or request
Milestone

Comments

@xxxserxxx
Copy link
Owner

xxxserxxx commented Feb 15, 2020

Sometimes, The usecase is such that we only need to monitor one thing. For example, We may need to only see the network widget or memory widget.

Hence, Add a command-line option that takes the name of the widget and displays only that widget.

This will be helpful in case of tiled terminals with small terminal area.

A sample Command line interface could look like:

gotop --widget=network

gotop -w network

Original ticket cjbassi#155
Original submitter @xypnox

@xxxserxxx
Copy link
Owner Author

This feature would be very usefull, if possible please allow multiple like -w=CPU,Memory,Network,Processes or similar.
This way it would be able to hide the Temperature-boxes for example, which are usually empty on my VMs anyway.

@xxxserxxx
Copy link
Owner Author

@xypnox -- addressed in release 3.2.0 (on this repository), through the configurable user interface. The way you'd do it with the release is:

echo net | gotop -l -

The configurable UI feature allows you to do more than this, including creating a layout file with (in this case) only a single widget, putting it in (say) a file called $XDG_CONFIG_DIR/gotop/net-only and then running gotop -l net-only. The README has more information about this feature.

Original ticket cjbassi#155

@xypnox
Copy link

xypnox commented Feb 16, 2020 via email

@xxxserxxx xxxserxxx added this to the v3.1.0 milestone Feb 19, 2020
@xxxserxxx xxxserxxx added the enhancement New feature or request label Feb 19, 2020
@xxxserxxx
Copy link
Owner Author

Closed by 4247e93 (or thereabouts); release 3.1.0, binaries available in the releases tab.

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

No branches or pull requests

2 participants