rename terminal -> term

This commit is contained in:
Michael Chris Lopez
2021-10-09 16:27:46 +08:00
parent f6bcb08068
commit 89b9e8cc69
17 changed files with 49 additions and 50 deletions

View File

@@ -18,11 +18,11 @@ set -g clock-mode-colour '${color5}'
set -g mode-style fg='${color0}',bg='${selection_background}'
]]
return function(name, theme, palette, terminal)
return function(name, theme, palette, term)
local values = {
selection_background = theme.Visual.bg.hex,
}
for i, v in ipairs(terminal.colors) do
for i, v in ipairs(term) do
values["color" .. (i - 1)] = v.hex
end