diff options
author | Caleb Bassi <calebjbassi@gmail.com> | 2018-05-10 21:23:20 -0700 |
---|---|---|
committer | Caleb Bassi <calebjbassi@gmail.com> | 2018-05-10 21:23:20 -0700 |
commit | 28066827aed55533afc10f0a237646f1495393ac (patch) | |
tree | 4b5e7b150288acccc0503424aca42d5100927eb8 /colorschemes | |
parent | b39fdb0ef1e6dc7ce67ff347a7ca5bb1ab4ef713 (diff) |
Move source files to src folder
Diffstat (limited to 'colorschemes')
-rw-r--r-- | colorschemes/default.go | 23 | ||||
-rw-r--r-- | colorschemes/default_dark.go | 23 | ||||
-rw-r--r-- | colorschemes/monokai.go | 23 | ||||
-rw-r--r-- | colorschemes/monokai.png | bin | 93386 -> 0 bytes | |||
-rw-r--r-- | colorschemes/solarized.go | 23 | ||||
-rw-r--r-- | colorschemes/solarized.png | bin | 88930 -> 0 bytes | |||
-rw-r--r-- | colorschemes/template.go | 45 |
7 files changed, 0 insertions, 137 deletions
diff --git a/colorschemes/default.go b/colorschemes/default.go deleted file mode 100644 index 48db2d3..0000000 --- a/colorschemes/default.go +++ /dev/null @@ -1,23 +0,0 @@ -package colorschemes - -var Default = Colorscheme{ - Fg: 7, - Bg: -1, - - BorderLabel: 7, - BorderLine: 6, - - CPULines: []int{4, 3, 2, 1, 5, 6, 7, 8}, - - MainMem: 5, - SwapMem: 11, - - ProcCursor: 4, - - Sparkline: 4, - - DiskBar: 7, - - TempLow: 2, - TempHigh: 1, -} diff --git a/colorschemes/default_dark.go b/colorschemes/default_dark.go deleted file mode 100644 index 15f7137..0000000 --- a/colorschemes/default_dark.go +++ /dev/null @@ -1,23 +0,0 @@ -package colorschemes - -var DefaultDark = Colorscheme{ - Fg: 235, - Bg: -1, - - BorderLabel: 235, - BorderLine: 6, - - CPULines: []int{4, 3, 2, 1, 5, 6, 7, 8}, - - MainMem: 5, - SwapMem: 3, - - ProcCursor: 33, - - Sparkline: 4, - - DiskBar: 252, - - TempLow: 2, - TempHigh: 1, -} diff --git a/colorschemes/monokai.go b/colorschemes/monokai.go deleted file mode 100644 index b3dbc23..0000000 --- a/colorschemes/monokai.go +++ /dev/null @@ -1,23 +0,0 @@ -package colorschemes - -var Monokai = Colorscheme{ - Fg: 249, - Bg: -1, - - BorderLabel: 249, - BorderLine: 239, - - CPULines: []int{81, 70, 208, 197, 249, 141, 221, 186}, - - MainMem: 208, - SwapMem: 186, - - ProcCursor: 197, - - Sparkline: 81, - - DiskBar: 102, - - TempLow: 70, - TempHigh: 208, -} diff --git a/colorschemes/monokai.png b/colorschemes/monokai.png Binary files differdeleted file mode 100644 index 468d2b2..0000000 --- a/colorschemes/monokai.png +++ /dev/null diff --git a/colorschemes/solarized.go b/colorschemes/solarized.go deleted file mode 100644 index 2ead4df..0000000 --- a/colorschemes/solarized.go +++ /dev/null @@ -1,23 +0,0 @@ -package colorschemes - -var Solarized = Colorscheme{ - Fg: 250, - Bg: -1, - - BorderLabel: 250, - BorderLine: 37, - - CPULines: []int{61, 33, 37, 64, 125, 160, 166, 136}, - - MainMem: 125, - SwapMem: 166, - - ProcCursor: 136, - - Sparkline: 33, - - DiskBar: 245, - - TempLow: 64, - TempHigh: 160, -} diff --git a/colorschemes/solarized.png b/colorschemes/solarized.png Binary files differdeleted file mode 100644 index b697919..0000000 --- a/colorschemes/solarized.png +++ /dev/null diff --git a/colorschemes/template.go b/colorschemes/template.go deleted file mode 100644 index d303e4b..0000000 --- a/colorschemes/template.go +++ /dev/null @@ -1,45 +0,0 @@ -package colorschemes - -/* - The standard 256 terminal colors are supported. - - -1 = clear - - You can combine a color with 'Bold', 'Underline', or 'Reverse' by using bitwise OR ('|') and the name of the attribute. - For example, to get Bold red Labels, you would do 'Labels: 2 | Bold'. - - Once you've created a colorscheme, add an entry for it in the `handleColorscheme` function in 'main.go'. -*/ - -const ( - Bold int = 1 << (iota + 9) - Underline - Reverse -) - -type Colorscheme struct { - Name string - Author string - - Fg int - Bg int - - BorderLabel int - BorderLine int - - // should add at least 8 here - CPULines []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 -} |