added cli usage info, removed useless type alias
This commit is contained in:
parent
b80258b07e
commit
fcdb71bfad
|
@ -115,6 +115,10 @@ To make a custom colorscheme, check out the [template](./colorschemes/template.g
|
|||
`-b`, `--battery` Show battery level widget (`minimal` turns off). [preview](./assets/screenshots/battery.png)
|
||||
`-i`, `--interface=NAME` Select network interface [default: all].
|
||||
|
||||
Several interfaces can be defined using comma separated values.
|
||||
|
||||
Interfaces can also be ignored using `!`
|
||||
|
||||
## Built With
|
||||
|
||||
- [gizak/termui](https://github.com/gizak/termui)
|
||||
|
|
4
main.go
4
main.go
|
@ -78,6 +78,10 @@ Options:
|
|||
-b, --battery Show battery level widget ('minimal' turns off).
|
||||
-i, --interface=NAME Select network interface [default: all].
|
||||
|
||||
Several interfaces can be defined using comma separated values.
|
||||
|
||||
Interfaces can also be ignored using !
|
||||
|
||||
Colorschemes:
|
||||
default
|
||||
default-dark (for white background)
|
||||
|
|
|
@ -17,8 +17,6 @@ const (
|
|||
NET_INTERFACE_VPN = "tun0"
|
||||
)
|
||||
|
||||
type NetInterface string
|
||||
|
||||
type NetWidget struct {
|
||||
*ui.SparklineGroup
|
||||
updateInterval time.Duration
|
||||
|
|
Loading…
Reference in New Issue
Block a user