mirror of https://github.com/cjbassi/gotop.git
Add vice colorscheme based on vim-vice
This commit is contained in:
parent
0ed7e58984
commit
aa56f2b2a6
|
@ -0,0 +1,25 @@
|
|||
package colorschemes
|
||||
|
||||
var Vice = Colorscheme{
|
||||
Fg: 231,
|
||||
Bg: -1,
|
||||
|
||||
BorderLabel: 123,
|
||||
BorderLine: 102,
|
||||
|
||||
CPULines: []int{212, 218, 123, 159, 229, 158, 183, 146},
|
||||
|
||||
BattLines: []int{212, 218, 123, 159, 229, 158, 183, 146},
|
||||
|
||||
MainMem: 201,
|
||||
SwapMem: 97,
|
||||
|
||||
ProcCursor: 159,
|
||||
|
||||
Sparkline: 183,
|
||||
|
||||
DiskBar: 158,
|
||||
|
||||
TempLow: 49,
|
||||
TempHigh: 197,
|
||||
}
|
3
main.go
3
main.go
|
@ -83,6 +83,7 @@ Colorschemes:
|
|||
default-dark (for white background)
|
||||
solarized
|
||||
monokai
|
||||
vice
|
||||
`
|
||||
|
||||
args, err := docopt.ParseArgs(usage, os.Args[1:], version)
|
||||
|
@ -126,6 +127,8 @@ func handleColorscheme(cs string) error {
|
|||
colorscheme = colorschemes.Solarized
|
||||
case "monokai":
|
||||
colorscheme = colorschemes.Monokai
|
||||
case "vice":
|
||||
colorscheme = colorschemes.Vice
|
||||
case "default-dark":
|
||||
colorscheme = colorschemes.DefaultDark
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue