summaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/ghostty
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/ghostty')
-rw-r--r--dot_config/ghostty/config.tmpl (renamed from dot_config/ghostty/config)5
1 files changed, 5 insertions, 0 deletions
diff --git a/dot_config/ghostty/config b/dot_config/ghostty/config.tmpl
index 8a1faf6..605c6d1 100644
--- a/dot_config/ghostty/config
+++ b/dot_config/ghostty/config.tmpl
@@ -13,7 +13,12 @@ clipboard-read = allow
bell-features = attention,title
# Window — no decorations (sway manages windows)
+{{ if eq (default "host" (index . "machineRole")) "canonical" }}
+window-decoration = auto
+command = {{ .chezmoi.homeDir }}/.nix-profile/bin/zsh -l
+{{ else }}
window-decoration = none
+{{ end }}
confirm-close-surface = false
resize-overlay = never