From c86a7ee2f02689fe147dd8c3df7a99a51eb871c4 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Sun, 27 Aug 2023 19:43:12 +0200 Subject: [PATCH] fix wezterm for macos --- .../{executable_wezterm.lua => executable_wezterm.lua.tmpl} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) rename dot_config/wezterm/{executable_wezterm.lua => executable_wezterm.lua.tmpl} (96%) diff --git a/dot_config/wezterm/executable_wezterm.lua b/dot_config/wezterm/executable_wezterm.lua.tmpl similarity index 96% rename from dot_config/wezterm/executable_wezterm.lua rename to dot_config/wezterm/executable_wezterm.lua.tmpl index 08e1e4a..d98e538 100644 --- a/dot_config/wezterm/executable_wezterm.lua +++ b/dot_config/wezterm/executable_wezterm.lua.tmpl @@ -129,7 +129,11 @@ return { border_right_width = '0.5cell', }, window_background_opacity = 0.97, - window_decorations = "NONE", +{{ if eq .chezmoi.os "darwin" -}} +window_decorations = "TITLE | RESIZE", +{{ else if eq .chezmoi.os "linux" -}} +window_decorations = "NONE", +{{ end -}} tab_bar_at_bottom = true, hide_tab_bar_if_only_one_tab = false, use_fancy_tab_bar = false,