From 7d285592d8726288fd6cda66e0735ee6c8bbe007 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 9 Oct 2023 20:23:57 +0200 Subject: kitty: simplify shell integration configuration --- user/settings/kitty.nix | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'user/settings/kitty.nix') diff --git a/user/settings/kitty.nix b/user/settings/kitty.nix index 6027d877..814ce54c 100644 --- a/user/settings/kitty.nix +++ b/user/settings/kitty.nix @@ -1,9 +1,6 @@ { pkgs , ... }: -let - inherit (pkgs) stdenv; -in { programs.kitty = { enable = true; @@ -12,14 +9,14 @@ in name = "Rec Mono SemiCasual"; size = 15; }; - theme = "Alabaster"; shellIntegration = { - mode = "enabled"; + mode = "no-cursor"; }; + settings = { + macos_option_as_alt = "left"; + }; + extraConfig = '' + include ~/.config/kitty/theme.conf + ''; }; - programs.fish.shellInit = '' - if test -n $KITTY_INSTALLATION_DIR - set -x KITTY_SHELL_INTEGRATION no-cursor - end - ''; } -- cgit 1.4.1