colorschemes

package
v0.0.0-...-65d76af Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2020 License: AGPL-3.0 Imports: 0 Imported by: 5

Documentation

Index

Constants

View Source
const (
	Bold int = 1 << (iota + 9)
	Underline
	Reverse
)

Variables

View Source
var Default = Colorscheme{
	Fg: 7,
	Bg: -1,

	BorderLabel: 7,
	BorderLine:  6,

	CPULines: []int{4, 3, 2, 1, 5, 6, 7, 8},

	BattLines: []int{4, 3, 2, 1, 5, 6, 7, 8},

	MainMem: 5,
	SwapMem: 11,

	ProcCursor: 4,

	Sparkline: 4,

	DiskBar: 7,

	TempLow:  2,
	TempHigh: 1,
}
View Source
var DefaultDark = Colorscheme{
	Fg: 235,
	Bg: -1,

	BorderLabel: 235,
	BorderLine:  6,

	CPULines: []int{4, 3, 2, 1, 5, 6, 7, 8},

	BattLines: []int{4, 3, 2, 1, 5, 6, 7, 8},

	MainMem: 5,
	SwapMem: 3,

	ProcCursor: 33,

	Sparkline: 4,

	DiskBar: 252,

	TempLow:  2,
	TempHigh: 1,
}
View Source
var Monokai = Colorscheme{
	Fg: 249,
	Bg: -1,

	BorderLabel: 249,
	BorderLine:  239,

	CPULines: []int{81, 70, 208, 197, 249, 141, 221, 186},

	BattLines: []int{81, 70, 208, 197, 249, 141, 221, 186},

	MainMem: 208,
	SwapMem: 186,

	ProcCursor: 197,

	Sparkline: 81,

	DiskBar: 102,

	TempLow:  70,
	TempHigh: 208,
}
View Source
var Solarized = Colorscheme{
	Fg: 250,
	Bg: -1,

	BorderLabel: 250,
	BorderLine:  37,

	CPULines: []int{61, 33, 37, 64, 125, 160, 166, 136},

	BattLines: []int{61, 33, 37, 64, 125, 160, 166, 136},

	MainMem: 125,
	SwapMem: 166,

	ProcCursor: 136,

	Sparkline: 33,

	DiskBar: 245,

	TempLow:  64,
	TempHigh: 160,
}
View Source
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,
}

Functions

This section is empty.

Types

type Colorscheme

type Colorscheme struct {
	Name   string
	Author string

	Fg int
	Bg int

	BorderLabel int
	BorderLine  int

	// should add at least 8 here
	CPULines []int

	BattLines []int

	MainMem int
	SwapMem int

	ProcCursor int

	Sparkline int

	DiskBar int

	// colors the temperature number a different color if it's over a certain threshold
	TempLow  int
	TempHigh int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL