Add wezterm keybind to remove window decorations
This commit is contained in:
parent
db7e8ba957
commit
3e1e8ce353
1 changed files with 3 additions and 1 deletions
|
@ -26,8 +26,10 @@ local function recompute_window(window)
|
|||
|
||||
local dimensions = window:get_dimensions()
|
||||
|
||||
local no_title = override.window_decorations and (not override.window_decorations:find("TITLE"))
|
||||
|
||||
local padding
|
||||
if dimensions.is_full_screen then
|
||||
if dimensions.is_full_screen or no_title then
|
||||
padding = math.min(dimensions.pixel_width, dimensions.pixel_height) * 0.05
|
||||
else
|
||||
padding = 10
|
||||
|
|
Loading…
Reference in a new issue