diff --git a/home/base/gui/terminal/foot.nix b/home/base/gui/terminal/foot.nix index ac4a9f30..0a225e32 100644 --- a/home/base/gui/terminal/foot.nix +++ b/home/base/gui/terminal/foot.nix @@ -30,6 +30,10 @@ blur = true; # requires foot >= 1.26 and compositor support (e.g. niri v26.04+) }; + csd = { + preferred = "none"; # no title bar / menu button + }; + mouse = { hide-when-typing = "yes"; }; diff --git a/home/base/gui/terminal/ghostty.nix b/home/base/gui/terminal/ghostty.nix index 0c34c01e..ab84d820 100644 --- a/home/base/gui/terminal/ghostty.nix +++ b/home/base/gui/terminal/ghostty.nix @@ -22,6 +22,9 @@ font-family = "Maple Mono NF CN"; font-size = 13; + # hide title bar/header bar (Linux only; on macOS it would remove the traffic lights too) + window-decoration = pkgs.stdenv.hostPlatform.isDarwin; + background-opacity = 0.93; # only supported on macOS; background-blur-radius = 10;