Kitty terminal settings
This commit is contained in:
parent
35a3d8cc4e
commit
6ad3c8d576
3 changed files with 43 additions and 2 deletions
40
modules/kitty.nix
Normal file
40
modules/kitty.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ pkgs, lib, ... }:
|
||||
let strPalette = with pkgs.rice; palette.toRgbHex rec {
|
||||
foreground = colorPalette.normal.white;
|
||||
background = colorPalette.normal.black;
|
||||
color0 = colorPalette.normal.black;
|
||||
color1 = colorPalette.normal.red;
|
||||
color2 = colorPalette.normal.green;
|
||||
color3 = colorPalette.normal.yellow;
|
||||
color4 = colorPalette.normal.blue;
|
||||
color5 = colorPalette.normal.magenta;
|
||||
color6 = colorPalette.normal.cyan;
|
||||
color7 = colorPalette.normal.white;
|
||||
color8 = colorPalette.bright.black;
|
||||
color9 = colorPalette.bright.red;
|
||||
color10 = colorPalette.bright.green;
|
||||
color11 = colorPalette.bright.yellow;
|
||||
color12 = colorPalette.bright.blue;
|
||||
color13 = colorPalette.bright.magenta;
|
||||
color14 = colorPalette.bright.cyan;
|
||||
color15 = colorPalette.bright.white;
|
||||
};
|
||||
in
|
||||
{
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
scrollback_lines = 10000;
|
||||
enable_audio_bell = false;
|
||||
update_check_interval = 0;
|
||||
background_opacity = toString pkgs.rice.opacity;
|
||||
close_on_child_death = "yes";
|
||||
clipboard_control = "write-clipboard write-primary read-clipboard read-primary";
|
||||
disable_ligatures = "never";
|
||||
# font_features = "";
|
||||
} // strPalette;
|
||||
font = pkgs.rice.font.monospace;
|
||||
extraConfig = ''
|
||||
'';
|
||||
};
|
||||
}
|
||||
3
odin.nix
3
odin.nix
|
|
@ -53,7 +53,7 @@
|
|||
element-desktop
|
||||
evolution
|
||||
file
|
||||
firefox
|
||||
# firefox
|
||||
# gallery-dl
|
||||
glab
|
||||
gnome.dconf-editor
|
||||
|
|
@ -145,6 +145,7 @@
|
|||
./modules/kakoune.nix
|
||||
# ./modules/keepassxc.nix
|
||||
./modules/keychain.nix
|
||||
./modules/kitty.nix
|
||||
./modules/latex.nix
|
||||
./modules/lf.nix
|
||||
./modules/libinput-gestures.nix
|
||||
|
|
|
|||
2
rice.nix
2
rice.nix
|
|
@ -43,7 +43,7 @@ in
|
|||
size = 10;
|
||||
};
|
||||
monospace = {
|
||||
name = "FuraCode Nerd Font Mono";
|
||||
name = "FiraCode Nerd Font Mono";
|
||||
package = (
|
||||
final.nerdfonts.override {
|
||||
fonts = [ "FiraCode" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue