conky-config/schema/Patterns.lua

72 lines
1.5 KiB
Lua
Raw Normal View History

2017-07-19 00:36:15 -04:00
local M = {}
local Color = require 'Color'
2017-07-19 02:18:57 -04:00
local Util = require 'Util'
2017-07-19 00:36:15 -04:00
2021-07-06 00:11:00 -04:00
M.FONT = 'Neuropolitical'
2018-02-18 20:50:49 -05:00
-- text colors
2021-07-18 02:46:39 -04:00
M.HEADER_FG = Color.rgb(0xeeeeee)
2017-07-19 00:36:15 -04:00
2021-07-18 02:46:39 -04:00
M.INACTIVE_TEXT_FG = Color.rgb(0xaaaaaa)
2021-07-04 19:50:55 -04:00
-- TODO this is also the plot label color
2021-07-18 02:46:39 -04:00
M.MID_GREY = Color.rgb(0xa6a6a6)
M.BORDER_FG = Color.rgb(0x666666)
2021-07-04 19:50:55 -04:00
2021-07-18 02:46:39 -04:00
M.PRIMARY_FG = Color.rgb(0xC7BDFF)
M.SECONDARY_FG = Color.rgb(0xE6D3AC)
2021-07-07 18:18:56 -04:00
M.CRITICAL_FG = Color.rgb(0xff8282)
2018-02-18 20:50:49 -05:00
2021-07-18 02:46:39 -04:00
-- arc bg colors
local GREY2 = 0x9f9f9f
local GREY5 = 0x363636
2021-07-08 22:30:46 -04:00
M.INDICATOR_BG = Color.gradient_rgb{
[0.0] = GREY5,
[0.5] = GREY2,
[1.0] = GREY5
2017-07-19 00:36:15 -04:00
}
2021-07-18 02:46:39 -04:00
-- arc/bar fg colors
local PRIMARY1 = 0xAD9DFB
local PRIMARY3 = 0x4020DF
2021-07-08 22:30:46 -04:00
M.INDICATOR_FG_PRIMARY = Color.gradient_rgb{
2021-07-18 02:46:39 -04:00
[0.0] = PRIMARY3,
[0.5] = PRIMARY1,
[1.0] = PRIMARY3
2017-07-19 00:36:15 -04:00
}
2021-07-18 02:46:39 -04:00
local SECONDARY1 = 0xD9BC87
local SECONDARY3 = 0x59451B
2021-07-08 22:30:46 -04:00
M.INDICATOR_FG_SECONDARY = Color.gradient_rgb{
2021-07-18 02:46:39 -04:00
[0.0] = SECONDARY3,
[0.5] = SECONDARY1,
[1.0] = SECONDARY3
2017-07-19 00:36:15 -04:00
}
2021-07-18 02:46:39 -04:00
local CRITICAL1 = 0xFF3333
local CRITICAL3 = 0xFFB8B8
2021-07-08 22:30:46 -04:00
M.INDICATOR_FG_CRITICAL = Color.gradient_rgb{
2021-07-18 02:46:39 -04:00
[0.0] = CRITICAL1,
[0.5] = CRITICAL3,
[1.0] = CRITICAL1
2018-02-18 20:50:49 -05:00
}
-- plot patterns
2021-07-18 02:46:39 -04:00
local PLOT_PRIMARY1 = 0x15007C
local PLOT_PRIMARY2 = 0x431EFF
local PLOT_PRIMARY3 = 0x4B31CE
local PLOT_PRIMARY4 = 0x9F8CFF
2021-07-08 22:30:46 -04:00
M.PLOT_FILL_BORDER_PRIMARY = Color.gradient_rgb{
2021-07-18 02:46:39 -04:00
[0.0] = PLOT_PRIMARY1,
[1.0] = PLOT_PRIMARY2
2018-02-18 20:50:49 -05:00
}
2021-07-08 22:30:46 -04:00
M.PLOT_FILL_BG_PRIMARY = Color.gradient_rgba{
2021-07-18 02:46:39 -04:00
[0.2] = {PLOT_PRIMARY3, 0.5},
[1.0] = {PLOT_PRIMARY4, 1.0}
2018-02-18 20:50:49 -05:00
}
-- panel pattern
2021-07-07 18:18:56 -04:00
M.PANEL_BG = Color.rgba(0x000000, 0.7)
2018-02-18 20:50:49 -05:00
2021-07-07 18:18:56 -04:00
return Util.set_finalizer(M, function() print('Cleaning up Patterns.lua') end)