diff --git a/desktop/.config/flavours/templates/wezterm/templates/default.mustache b/desktop/.config/flavours/templates/wezterm/templates/default.mustache index 5f2c202..130d0e9 100644 --- a/desktop/.config/flavours/templates/wezterm/templates/default.mustache +++ b/desktop/.config/flavours/templates/wezterm/templates/default.mustache @@ -30,3 +30,15 @@ brights = [ "#{{base0C-hex}}", "#{{base07-hex}}" ] + +[colors.tab_bar] +background = "#{{base00-hex}}" +[colors.tab_bar.inactive_tab] +bg_color = "#{{base05-hex}}" +fg_color = "#{{base00-hex}}" +[colors.tab_bar.active_tab] +bg_color = "#{{base00-hex}}" +fg_color = "#{{base05-hex}}" +[colors.tab_bar.new_tab] +bg_color = "#{{base05-hex}}" +fg_color = "#{{base00-hex}}" diff --git a/terminal/.config/wezterm/wezterm.lua b/terminal/.config/wezterm/wezterm.lua index cca48f1..0b3db1f 100644 --- a/terminal/.config/wezterm/wezterm.lua +++ b/terminal/.config/wezterm/wezterm.lua @@ -1,5 +1,4 @@ local wezterm = require 'wezterm' -local mux = wezterm.mux local maps = require 'maps' @@ -26,56 +25,6 @@ if file_exists(colorsfile) == true then colors = wezterm.color.load_scheme(colorsfile) end --- wezterm.on("set-up-dotfile-workspace", function(window, pane) --- -- Set a workspace for coding on a current project --- -- Top pane is for the editor, bottom pane is for the build tool --- local project_dir = wezterm.home_dir .. '/projects/test/quarto/quarto-test' --- local tab, build_pane, window = mux.spawn_window { --- workspace = 'coding', --- cwd = project_dir, --- args = args --- } --- local editor_pane = build_pane:split{ --- direction = 'Top', --- size = 0.6, --- cwd = project_dir --- } --- build_pane:send_text 'quarto check' --- mux.set_active_workspace 'coding' --- end) --- --- wezterm.on('gui-startup', function(cmd) --- -- allow `wezterm start -- something` to affect what we spawn --- -- in our initial window --- local args = {} --- if cmd then args = cmd.args end --- --- -- Set a workspace for coding on a current project --- -- Top pane is for the editor, bottom pane is for the build tool --- local project_dir = wezterm.home_dir .. '/projects/test/quarto/quarto-test' --- local tab, build_pane, window = mux.spawn_window { --- workspace = 'coding', --- cwd = project_dir, --- args = args --- } --- local editor_pane = build_pane:split { --- direction = 'Top', --- size = 0.6, --- cwd = project_dir --- } --- build_pane:send_text 'quarto check' --- --- -- A workspace for interacting with a local machine that --- -- runs some docker containners for home automation --- local tab, pane, window = mux.spawn_window { --- workspace = 'toppy', --- args = { 'top' } --- } --- --- -- We want to startup in the coding workspace --- mux.set_active_workspace 'coding' --- end) - return { enable_wayland = true, hide_tab_bar_if_only_one_tab = true, @@ -90,5 +39,9 @@ return { line_height = 1.0, leader = { key = 'a', mods = 'CTRL', timeout_milliseconds = 1500 }, keys = maps.keys, - key_tables = maps.key_tables + key_tables = maps.key_tables, + inactive_pane_hsb = { + saturation = 0.9, + brightness = 0.9, + } }