164 lines · 4.3 KB
{
  config,
  pkgs,
  lib,
  ...
}: let
  isDarwin = pkgs.stdenv.isDarwin;
in {
  programs.kitty =
    (
      if isDarwin
      then {
        darwinLaunchOptions = [];
      }
      else {}
    )
    // {
      enable = true;

      environment = {
        PATH = "/usr/local/bin:\${PATH}";
      };

      settings =
        {
          enable_audio_bell = false;
          copy_on_select = true;
          remember_window_size = false;
          initial_window_width = 680;
          initial_window_height = 720;

          enabled_layouts = "tall:bias=70, tall:bias=30, horizontal, stack";

          window_border_width = "1.0";
          window_margin_width = "0.0";
          single_window_margin_width = "0.0";
          window_padding_width = "8.0";

          active_border_color = "#686868";
          inactive_border_color = "#4A4A4A";