diff options
| author | sommerfeld <sommerfeld@sommerfeld.dev> | 2026-09-22 13:57:08 +0100 |
|---|---|---|
| committer | sommerfeld <sommerfeld@sommerfeld.dev> | 2026-09-22 13:57:08 +0100 |
| commit | 8911e74cfdf10a7f4b57c4f88646ff962b6565ff (patch) | |
| tree | 42768a875972edfc79913ca019bad065aa9ea5b3 /tests | |
| parent | d4eddbc4a7b46c9e53fdd47b9feff0c2e75ec8d7 (diff) | |
| download | dotfiles-8911e74cfdf10a7f4b57c4f88646ff962b6565ff.tar.gz dotfiles-8911e74cfdf10a7f4b57c4f88646ff962b6565ff.tar.bz2 dotfiles-8911e74cfdf10a7f4b57c4f88646ff962b6565ff.zip | |
Remove Ghostty window decorations on the corporate laptop
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_canonical.py | 14 |
1 files changed, 14 insertions, 0 deletions
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", |
