add kitty

This commit is contained in:
LavaDesu 2021-07-05 15:05:01 +07:00
parent 294702c330
commit 1fb48c6a27
Signed by: cilly
GPG key ID: 6500251E087653C9
4 changed files with 22 additions and 1 deletions

View file

@ -8,7 +8,7 @@
};
font = {
normal = {
family = "CascadiaCode";
family = "CascadiaCodePL";
style = "Regular";
};
size = 8.6;

View file

@ -38,6 +38,7 @@
./xdg.nix
./alacritty.nix
./kitty.nix
./mpv.nix
./neovim.nix
./npm.nix

18
users/rin/kitty.nix Normal file
View file

@ -0,0 +1,18 @@
{ config, pkgs, ... }: {
programs.kitty = {
enable = true;
font = {
package = pkgs.cascadia-code;
name = "Cascadia Code PL";
size = 13;
};
settings = {
font_features = "-ss01 +ss19";
enable_audio_bell = false;
};
extraConfig = builtins.readFile (builtins.fetchurl {
url = "https://raw.githubusercontent.com/folke/tokyonight.nvim/main/extras/kitty_tokyonight_night.conf";
sha256 = "0mgjkmn4grr7rrxc5rrs1n0cghf03gp0v55hf3phll6czjavjldf";
});
};
}

View file

@ -7,6 +7,7 @@
blurExclude = [
(builtins.concatStringsSep " && " [
"class_g != 'Alacritty'"
"class_g != 'kitty'"
#"class_g != 'Polybar'"
"class_g != 'URxvt'"
])
@ -17,6 +18,7 @@
opacityRule = [
"80:class_g = 'Alacritty' && !focused"
"92:class_g = 'kitty' && !focused"
];
vSync = true;