cleanup kitty config

This commit is contained in:
Adithya 2024-04-27 23:08:01 +05:30
parent 8aca36e1eb
commit b446072bbf
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C

View file

@ -1,34 +1,24 @@
{ pkgs, ... }: { pkgs, ... }: {
let
dracula-kitty = pkgs.fetchFromGitHub {
owner = "dracula";
repo = "kitty";
rev = "87717a3f00e3dff0fc10c93f5ff535ea4092de70";
hash = "sha256-78PTH9wE6ktuxeIxrPp0ZgRI8ST+eZ3Ok2vW6BCIZkc=";
};
in
{
programs.kitty = { programs.kitty = {
enable = true; enable = true;
font.package = pkgs.nerdfonts.override { fonts = [ "FiraCode" ]; }; font = {
font.name = "FiraCode Nerd Font"; package = pkgs.nerdfonts.override { fonts = [ "FiraCode" ]; };
extraConfig = '' name = "FiraCode Nerd Font";
font_size 14 size = 14;
initial_window_width 100c };
initial_window_height 25c
window_padding_width 4.0
background_opacity 0.98
cursor_shape beam
scrollback_lines 2000
copy_on_select clipboard
url_style curly
sync_to_monitor yes
shell_integration disabled
include ${dracula-kitty}/dracula.conf
'';
settings = { settings = {
enable_audio_bell = false; enable_audio_bell = false;
initial_window_width = "100c";
initial_window_height = "25c";
window_padding_width = "4.0";
background_opacity = "0.98";
cursor_shape = "beam";
scrollback_lines = 2000;
copy_on_select = "clipboard";
url_style = "curly";
sync_to_monitor = true;
}; };
shellIntegration.mode = "disabled";
theme = "Dracula";
}; };
} }