Files
zenbones-theme/lua/zenbones/build/tmux.lua

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
946 B
Lua
Raw Normal View History

2021-09-06 18:13:07 +08:00
local template = [[set -g status-left ' #[fg=${color5},bold]#{s/root//:client_key_table} '
set -g status-right '#[fg=${color5},bold] [#S]#[fg=${color5},bold] [%d/%m] #[fg=${color5},bold][%I:%M%p] '
2021-09-06 16:36:12 +07:00
set -g status-style fg='${color5}',bg='${color7}'
2021-09-06 18:13:07 +08:00
2021-09-06 16:36:12 +07:00
set -g window-status-current-style fg='${color5}',bg='${color7}',bold
2021-09-06 18:13:07 +08:00
2021-09-06 16:36:12 +07:00
set -g pane-border-style fg='${color5}'
set -g pane-active-border-style fg='${color5}'
2021-09-06 18:13:07 +08:00
2021-09-06 16:36:12 +07:00
set -g message-style fg='${color0}',bg='${selection_background}'
2021-09-06 18:13:07 +08:00
2021-09-06 16:36:12 +07:00
set -g display-panes-active-colour '${color5}'
set -g display-panes-colour '${color5}'
2021-09-06 18:13:07 +08:00
2021-09-06 16:36:12 +07:00
set -g clock-mode-colour '${color5}'
2021-09-06 18:13:07 +08:00
2021-09-06 16:36:12 +07:00
set -g mode-style fg='${color0}',bg='${selection_background}'
]]
local theme = require "zenbones"
local terminal = require "zenbones.terminal"
local values = {
selection_background = theme.Visual.bg.hex,
}
for i, v in ipairs(terminal.colors) do
values["color" .. (i - 1)] = v.hex
end
return { "extras/tmux/zenbones.tmux", template, values }