move templates in separate lua files

This commit is contained in:
Michael Chris Lopez
2021-09-04 16:02:45 +08:00
parent 1e05f69017
commit ba61148d74
3 changed files with 45 additions and 38 deletions

View File

@@ -0,0 +1,22 @@
local theme = require "zenbones"
local terminal = require "zenbones.terminal"
local bg = theme.Normal.bg.hex
local fg = theme.Normal.fg.hex
local specs = {
background = bg,
foreground = fg,
selection_background = theme.Visual.bg.hex,
selection_foreground = fg,
url_color = terminal.colors[14].hex,
cursor = fg,
active_tab_background = theme.Search.bg.hex,
active_tab_foreground = fg,
inactive_tab_background = theme.StatusLine.bg.hex,
inactive_tab_foreground = fg,
}
for i, v in ipairs(terminal.colors) do
specs["color" .. (i - 1)] = v.hex
end
return { "extras/kitty/zenbones.conf", specs }