-
Notifications
You must be signed in to change notification settings - Fork 448
Implement #148 and #149 #152
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a NetInterface
type aliased to string in this file as well. Given changes from string
to []string
in the rest of the PR, this alias should change as well.
However, I don't see the NetInterface
type being used anywhere in the project. Can you delete this type alias in order to remove some confusion?
@@ -112,7 +112,7 @@ To make a custom colorscheme, check out the [template](./colorschemes/template.g | |||
`-p`, `--percpu` Show each CPU in the CPU widget. | |||
`-a`, `--averagecpu` Show average CPU in the CPU widget. | |||
`-s`, `--statusbar` Show a statusbar with the time. | |||
`-b`, `--battery` Show battery level widget (`minimal` turns off). [preview](./assets/screenshots/battery.png) | |||
`-b`, `--battery` Show battery level widget (`minimal` turns off). [preview](./assets/screenshots/battery.png) | |||
`-i`, `--interface=NAME` Select network interface [default: all]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be a good idea to let users know in the readme that many interfaces can be defined with CSVs and that interfaces can be ignored with !
The same documentation should also appear in the cli usage text
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR implement #148 and #149