From c37ce01f05df81d2783da4ffded79751e5eb17bc Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Wed, 18 Sep 2024 08:28:18 -0400 Subject: [PATCH] vscode: use custom titlebar on gnome --- homeManagerModules/apps/vsCodium/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/homeManagerModules/apps/vsCodium/default.nix b/homeManagerModules/apps/vsCodium/default.nix index 232a2b4c..1091cab7 100644 --- a/homeManagerModules/apps/vsCodium/default.nix +++ b/homeManagerModules/apps/vsCodium/default.nix @@ -80,7 +80,12 @@ in { "terminal.integrated.fontSize" = config.stylix.fonts.sizes.terminal + 3; "update.mode" = "none"; "window.menuBarVisibility" = "hidden"; - "window.titleBarStyle" = lib.mkDefault "native"; + + "window.titleBarStyle" = + if config.ar.home.desktop.gnome.enable + then "custom" + else "native"; + "window.zoomPerWindow" = false; };