From aa56f2b2a636d2639059e4dfd2d7e78457d71108 Mon Sep 17 00:00:00 2001 From: Tony Lambiris Date: Thu, 21 Feb 2019 02:51:49 -0500 Subject: [PATCH] Add vice colorscheme based on vim-vice --- colorschemes/vice.go | 25 +++++++++++++++++++++++++ main.go | 3 +++ 2 files changed, 28 insertions(+) create mode 100644 colorschemes/vice.go diff --git a/colorschemes/vice.go b/colorschemes/vice.go new file mode 100644 index 0000000..23fa02a --- /dev/null +++ b/colorschemes/vice.go @@ -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, +} diff --git a/main.go b/main.go index 0204ce7..4694d43 100644 --- a/main.go +++ b/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: