From 35873a5b7cc4a725609757d214f2db05ba3bc529 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Mon, 5 Aug 2024 18:11:20 -0700 Subject: [PATCH] fix: partially revert 1056a696 and add kitty back also adds titlebar-only hide_window_decoration --- modules/home-manager/darwin/darwin-home.nix | 15 +++++++++++++++ modules/home-manager/darwin/overrides.nix | 3 --- 2 files changed, 15 insertions(+), 3 deletions(-) delete mode 100644 modules/home-manager/darwin/overrides.nix diff --git a/modules/home-manager/darwin/darwin-home.nix b/modules/home-manager/darwin/darwin-home.nix index 34d7975..85b20ec 100644 --- a/modules/home-manager/darwin/darwin-home.nix +++ b/modules/home-manager/darwin/darwin-home.nix @@ -53,6 +53,21 @@ programs.bash.enable = true; programs.zsh.enable = true; + programs.kitty = { + enable = true; + theme = "Tokyo Night"; + font.name = "CaskaydiaCove Nerd Font"; + settings = { + font_size = 12; + window_padding_width = "8 8 0"; + confirm_os_window_close = -1; + shell_integration = "enabled"; + enable_audio_bell = "no"; + background_opacity = "0.8"; + hide_window_decorations = "titlebar-only"; + }; + }; + # This value determines the home Manager release that your # configuration is compatible with. This helps avoid breakage # when a new home Manager release introduces backwards diff --git a/modules/home-manager/darwin/overrides.nix b/modules/home-manager/darwin/overrides.nix deleted file mode 100644 index 160067f..0000000 --- a/modules/home-manager/darwin/overrides.nix +++ /dev/null @@ -1,3 +0,0 @@ -{ - programs.kitty.config.hide_window_decorations = "titlebar-only"; -}