From 8911e74cfdf10a7f4b57c4f88646ff962b6565ff Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Tue, 22 Sep 2026 13:57:08 +0100 Subject: Remove Ghostty window decorations on the corporate laptop --- tests/test_canonical.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'tests') diff --git a/tests/test_canonical.py b/tests/test_canonical.py index 1a8c5dd..018d813 100644 --- a/tests/test_canonical.py +++ b/tests/test_canonical.py @@ -117,6 +117,20 @@ class PackageTests(unittest.TestCase): class RoleTests(unittest.TestCase): + def test_canonical_ghostty_has_no_window_decoration(self): + rendered = subprocess.check_output( + self.command( + "canonical", + "execute-template", + "--file", + str(ROOT / "dot_config/ghostty/config.tmpl"), + ), + text=True, + ) + self.assertIn("window-decoration = none", rendered) + self.assertNotIn("window-decoration = auto", rendered) + self.assertIn("/.nix-profile/bin/zsh -l", rendered) + def command(self, role: str, *args: str) -> list[str]: return [ "chezmoi", -- cgit v1.3.1