add kitty
This commit is contained in:
parent
294702c330
commit
1fb48c6a27
4 changed files with 22 additions and 1 deletions
|
|
@ -8,7 +8,7 @@
|
|||
};
|
||||
font = {
|
||||
normal = {
|
||||
family = "CascadiaCode";
|
||||
family = "CascadiaCodePL";
|
||||
style = "Regular";
|
||||
};
|
||||
size = 8.6;
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@
|
|||
./xdg.nix
|
||||
|
||||
./alacritty.nix
|
||||
./kitty.nix
|
||||
./mpv.nix
|
||||
./neovim.nix
|
||||
./npm.nix
|
||||
|
|
|
|||
18
users/rin/kitty.nix
Normal file
18
users/rin/kitty.nix
Normal 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";
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue