From 0ba6050a9cee30f2ed5b14b75e3ed8d961e3ec94 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Tue, 26 Dec 2023 20:01:35 +0100 Subject: [PATCH] add window_decorations for raspberry pi --- dot_config/wezterm/executable_wezterm.lua.tmpl | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/dot_config/wezterm/executable_wezterm.lua.tmpl b/dot_config/wezterm/executable_wezterm.lua.tmpl index d09c4fc..50fb60f 100644 --- a/dot_config/wezterm/executable_wezterm.lua.tmpl +++ b/dot_config/wezterm/executable_wezterm.lua.tmpl @@ -129,7 +129,17 @@ return { border_right_width = '0.5cell', }, window_background_opacity = 0.97, - window_decorations = "TITLE | RESIZE", +{{ if eq .chezmoi.os "darwin" }} +window_decorations = "TITLE | RESIZE", +{{ else if eq .chezmoi.os "linux" }} +{{- if eq .chezmoi.hostname "SpectreOS" -}} +window_decorations = "NONE", +{{- else if eq .chezmoi.hostname "simons-pi" -}} +window_decorations = "NONE", +{{- else -}} +window_decorations = "TITLE | RESIZE", +{{- end -}} +{{ end }} tab_bar_at_bottom = false, hide_tab_bar_if_only_one_tab = true, use_fancy_tab_bar = false,