refactor(wezterm): change lower tab bar to be more colorful, add icons

This commit is contained in:
Price Hiller 2023-05-05 03:26:42 -05:00
parent 80e75d376d
commit b2c2069ed8
No known key found for this signature in database

View File

@ -201,7 +201,9 @@ wezterm.on("update-status", function(window, pane)
end end
end end
local date = wezterm.strftime("%a, %b %-d, %I:%M %p") cwd = "" .. cwd
local date = "" .. wezterm.strftime("%a, %b %-d, %I:%M %p")
-- An entry for each battery (typically 0 or 1 battery) -- An entry for each battery (typically 0 or 1 battery)
local battery = "" local battery = ""
@ -232,10 +234,10 @@ wezterm.on("update-status", function(window, pane)
-- Color palette for the backgrounds of each cell -- Color palette for the backgrounds of each cell
local fade_colors = { local fade_colors = {
{ bg = color_names.kanagawa.sumiInk1, fg = color_names.kanagawa.springGreen }, { bg = color_names.kanagawa.roninYellow, fg = color_names.kanagawa.sumiInk0 },
{ bg = color_names.kanagawa.sumiInk2, fg = color_names.kanagawa.crystalBlue }, { bg = color_names.kanagawa.springGreen, fg = color_names.kanagawa.sumiInk0 },
{ bg = color_names.kanagawa.sumiInk3, fg = color_names.kanagawa.surimiOrange }, { bg = color_names.kanagawa.crystalBlue, fg = color_names.kanagawa.sumiInk0 },
{ bg = color_names.kanagawa.sumiInk4, fg = color_names.kanagawa.fujiWhite }, { bg = color_names.kanagawa.oniViolet, fg = color_names.kanagawa.sumiInk0 },
} }
-- The elements to be formatted -- The elements to be formatted