mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-09-01 08:07:14 +02:00
feat(terminal): hide title bars in foot and ghostty
Signed-off-by: Ryan Yin <xiaoyin_c@qq.com>
This commit is contained in:
@@ -30,6 +30,10 @@
|
|||||||
blur = true; # requires foot >= 1.26 and compositor support (e.g. niri v26.04+)
|
blur = true; # requires foot >= 1.26 and compositor support (e.g. niri v26.04+)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
csd = {
|
||||||
|
preferred = "none"; # no title bar / menu button
|
||||||
|
};
|
||||||
|
|
||||||
mouse = {
|
mouse = {
|
||||||
hide-when-typing = "yes";
|
hide-when-typing = "yes";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -22,6 +22,9 @@
|
|||||||
font-family = "Maple Mono NF CN";
|
font-family = "Maple Mono NF CN";
|
||||||
font-size = 13;
|
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;
|
background-opacity = 0.93;
|
||||||
# only supported on macOS;
|
# only supported on macOS;
|
||||||
background-blur-radius = 10;
|
background-blur-radius = 10;
|
||||||
|
|||||||
Reference in New Issue
Block a user