Added monokai theme
This commit is contained in:
parent
37d63bf19e
commit
7c662db8ae
23
colorschemes/monokai.go
Normal file
23
colorschemes/monokai.go
Normal file
|
@ -0,0 +1,23 @@
|
|||
package colorschemes
|
||||
|
||||
var Monokai = Colorscheme{
|
||||
Fg: 249,
|
||||
Bg: -1,
|
||||
|
||||
BorderLabel: 249,
|
||||
BorderLine: 239,
|
||||
|
||||
CPULines: []int{208, 70, 197, 81, 249, 141, 221, 186},
|
||||
|
||||
MainMem: 208,
|
||||
SwapMem: 186,
|
||||
|
||||
ProcCursor: 197,
|
||||
|
||||
Sparkline: 81,
|
||||
|
||||
DiskBar: 102,
|
||||
|
||||
TempLow: 70,
|
||||
TempHigh: 208,
|
||||
}
|
3
gotop.go
3
gotop.go
|
@ -51,6 +51,7 @@ Options:
|
|||
Colorschemes:
|
||||
default
|
||||
solarized
|
||||
monokai
|
||||
`
|
||||
|
||||
args, _ := docopt.ParseArgs(usage, os.Args[1:], VERSION)
|
||||
|
@ -73,6 +74,8 @@ func updateGotop() {
|
|||
|
||||
func handleColorscheme(cs string) {
|
||||
switch cs {
|
||||
case "monokai":
|
||||
colorscheme = colorschemes.Monokai
|
||||
case "solarized":
|
||||
colorscheme = colorschemes.Solarized
|
||||
case "default":
|
||||
|
|
Loading…
Reference in New Issue
Block a user