Update wezterm config

This commit is contained in:
James Dugan 2025-04-26 14:16:20 -06:00
parent 238f3ea099
commit 12e47a8613
44 changed files with 10874 additions and 171 deletions

View file

@ -1,4 +1,4 @@
local wezterm = require("wezterm")
local wezterm = require("wezterm") --[[@as Wezterm]]
local util = require("util")
local scheme = util.get_schemes()["Everforest Dark Soft (Gogh)"]
@ -46,11 +46,17 @@ wezterm.on("update-status", function(window, pane)
end
table.insert(right_status, "ResetAttributes")
table.insert(right_status, { Background = { Color = scheme.ansi[8] } })
table.insert(right_status, { Foreground = { Color = scheme.ansi[1] } })
table.insert(right_status, { Attribute = { Intensity = "Bold" } })
table.insert(right_status, { Text = cwd_path })
if cwd_path ~= "" then
table.insert(right_status, { Background = { Color = scheme.ansi[8] } })
table.insert(right_status, { Foreground = { Color = scheme.ansi[1] } })
table.insert(right_status, { Attribute = { Intensity = "Bold" } })
table.insert(right_status, { Text = cwd_path .. " " })
end
-- domain name
table.insert(right_status, { Background = { Color = scheme.brights[1] } })
table.insert(right_status, { Foreground = { Color = scheme.ansi[8] } })
table.insert(right_status, { Text = " " .. pane:get_domain_name() .. " " })
window:set_right_status(wezterm.format(right_status))
end)