remove extra config from tmux

This commit is contained in:
Michael Chris Lopez
2021-09-06 18:13:07 +08:00
parent 9a41cfdd1b
commit 1e4d794c4b
2 changed files with 16 additions and 25 deletions

View File

@@ -1,37 +1,27 @@
local template = [[set -g base-index 1
set -g pane-base-index 1
set -g renumber-windows on
set -g status-position top
set -as terminal-overrides ",gnome*:Tc"
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] '
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] '
set -g status-style fg='${color5}',bg='${color7}'
set -g window-status-current-style fg='${color5}',bg='${color7}',bold
set -g pane-border-style fg='${color5}'
set -g pane-active-border-style fg='${color5}'
set -g message-style fg='${color0}',bg='${selection_background}'
set -g display-panes-active-colour '${color5}'
set -g display-panes-colour '${color5}'
set -g clock-mode-colour '${color5}'
set -g mode-style fg='${color0}',bg='${selection_background}'
]]
local theme = require "zenbones"
local terminal = require "zenbones.terminal"
local bg = theme.Normal.bg.hex
local fg = theme.Normal.fg.hex
local values = {
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
values["color" .. (i - 1)] = v.hex