Fix wezterm tab colors
This commit is contained in:
parent
1b3e043e42
commit
57f9e3deba
3 changed files with 57 additions and 1 deletions
|
@ -33,6 +33,9 @@
|
|||
(defwidget sidestuff []
|
||||
(box :class "sidestuff" :orientation "h" :space-evenly false :halign "start" :spacing 20
|
||||
time
|
||||
; TODO: indicator/tray/taskbar/toolbar icons and management? (probably should use something standalone?)
|
||||
; https://github.com/elkowar/eww/issues/111
|
||||
|
||||
; TODO: idle inhibitor?
|
||||
; TODO: battery time remaining?
|
||||
; TODO: hyprland workspaces?
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
colors,
|
||||
...
|
||||
}: {
|
||||
# docs: https://wezfurlong.org/wezterm/config/appearance.html#defining-your-own-colors
|
||||
programs.wezterm = with colors.withHashPrefix; {
|
||||
enable = true;
|
||||
extraConfig = builtins.readFile ./wezterm/config.lua;
|
||||
|
@ -18,6 +19,56 @@
|
|||
cursor_fg = bg;
|
||||
cursor_bg = text;
|
||||
cursor_border = text;
|
||||
|
||||
selection_fg = bg;
|
||||
selection_bg = yellow;
|
||||
|
||||
scrollbar_thumb = bg2;
|
||||
|
||||
split = bg5;
|
||||
|
||||
# indexed = { [136] = '#af8700' },
|
||||
tab_bar = {
|
||||
background = bg3;
|
||||
|
||||
active_tab = {
|
||||
bg_color = primary;
|
||||
fg_color = bg;
|
||||
italic = false;
|
||||
};
|
||||
inactive_tab = {
|
||||
bg_color = bg2;
|
||||
fg_color = fgdim;
|
||||
italic = false;
|
||||
};
|
||||
inactive_tab_hover = {
|
||||
bg_color = bg3;
|
||||
fg_color = primary;
|
||||
italic = false;
|
||||
};
|
||||
new_tab = {
|
||||
bg_color = bg2;
|
||||
fg_color = fgdim;
|
||||
italic = false;
|
||||
};
|
||||
new_tab_hover = {
|
||||
bg_color = bg3;
|
||||
fg_color = primary;
|
||||
italic = false;
|
||||
};
|
||||
};
|
||||
|
||||
compose_cursor = orange;
|
||||
|
||||
# copy_mode_active_highlight_bg = { Color = '#000000' },
|
||||
# copy_mode_active_highlight_fg = { AnsiColor = 'Black' },
|
||||
# copy_mode_inactive_highlight_bg = { Color = '#52ad70' },
|
||||
# copy_mode_inactive_highlight_fg = { AnsiColor = 'White' },
|
||||
|
||||
# quick_select_label_bg = { Color = 'peru' },
|
||||
# quick_select_label_fg = { Color = '#ffffff' },
|
||||
# quick_select_match_bg = { AnsiColor = 'Navy' },
|
||||
# quick_select_match_fg = { Color = '#ffffff' },
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -17,9 +17,10 @@ config.default_cursor_style = 'BlinkingBar'
|
|||
-- config.disable_default_key_bindings = true
|
||||
config.hide_tab_bar_if_only_one_tab = true
|
||||
config.use_fancy_tab_bar = false
|
||||
config.tab_bar_at_bottom = false
|
||||
config.tab_bar_at_bottom = true
|
||||
config.window_background_opacity = 1.0
|
||||
config.enable_kitty_keyboard = true
|
||||
config.show_new_tab_button_in_tab_bar = true
|
||||
|
||||
local function tab_title(tab_info)
|
||||
local title = tab_info.tab_title
|
||||
|
@ -35,6 +36,7 @@ wezterm.on('format-tab-title', function (tab, _, _, _, _, max_width)
|
|||
return ' ' .. string.sub(title, 0, max_width - 2) .. ' '
|
||||
end)
|
||||
|
||||
-- see nix module which has home manager create this color scheme file
|
||||
config.color_scheme = 'catppuccin-mocha-sapphire';
|
||||
|
||||
config.inactive_pane_hsb = {
|
||||
|
|
Loading…
Reference in a new issue