Initial commit

This commit is contained in:
Oscar Wallberg
2024-07-14 13:55:45 +02:00
commit 24430a42fb
75 changed files with 6638 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
local wezterm = require("wezterm")
local M = {}
function M.setup()
wezterm.on(
'format-tab-title',
function(tab, _, _, _, _, _)
local title = tab.tab_title
if not title or #title <= 0 then
title = tab.active_pane.title
end
title = " " .. tab.tab_index + 1 .. ": " .. title
if tab.is_active then
title = title .. "*"
else
title = title .. " "
end
return {
{ Text = title },
}
end
)
end
return M