repositories / dotfiles
dotfiles
bugabingas dorkfiles
owned by bugabinga
wezterm/bugabinga/window.lua
Rawlocal wez = require 'wezterm'
return function ( cfg )
cfg.window_background_opacity = 1.0
if wez.target_triple:find('windows') then
cfg.window_decorations = 'RESIZE'
else
cfg.window_decorations = 'RESIZE|NONE'
end
cfg.use_resize_increments = true
cfg.adjust_window_size_when_changing_font_size = false
if wez.version > '2025' then
cfg.window_content_alignment = {
horizontal = 'Center',
vertical = 'Center',
}
end
cfg.window_padding = {
left = 0,
right = 0,
top = 0,
bottom = 0,
}
end