Provides system info for use by other tools.
Open a terminal and run the following:
$ go get -u github.com/mjwhitta/sysinfo
$ go install github.com/mjwhitta/sysinfo/cmd/sysinfo@latest
Or compile from source:
$ git clone https://github.com/mjwhitta/sysinfo.git
$ cd sysinfo
$ git submodule update --init
$ make
$ sysinfo
package main
import (
"fmt"
"github.com/mjwhitta/sysinfo"
)
func main() {
fmt.Println(sysinfo.New())
}
Configuration is stored in $HOME/.config/sysinfo/rc
. The default
config looks like:
{
"dataColors": [
"green"
],
"fieldColors": [
"blue"
]
}
These values can be adjusted to meet your needs.
- Better README.md