feat(kitty): better kitty configuration
This commit is contained in:
		
							parent
							
								
									e0a06e39cd
								
							
						
					
					
						commit
						a830ba8749
					
				@ -1,11 +1,24 @@
 | 
			
		||||
{
 | 
			
		||||
{pkgs, ...}:{
 | 
			
		||||
  programs.kitty = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    themeFile = "Nord";
 | 
			
		||||
    font = {
 | 
			
		||||
      package = pkgs.cascadia-code;
 | 
			
		||||
      name = "Cascadia Code";
 | 
			
		||||
      size = 10;
 | 
			
		||||
    };
 | 
			
		||||
    settings = {
 | 
			
		||||
      enable_audio_bell = true;
 | 
			
		||||
      visual_bell_duration = 0.1;
 | 
			
		||||
      enabled_layouts = "fat,fat:mirrored=true,tall,tall:mirrored=true";
 | 
			
		||||
      kitty_mod = "ctrl+shift";
 | 
			
		||||
      disable_ligatures = "never";
 | 
			
		||||
      font_features = "Cascadia-Mono +onum +zero";
 | 
			
		||||
      cursor_shape = "block";
 | 
			
		||||
      scrollback_lines = "10000";
 | 
			
		||||
      mouse_hide_wait = 3.0;
 | 
			
		||||
      detect_urls = true;
 | 
			
		||||
      background_opacity = 0.7;
 | 
			
		||||
    };
 | 
			
		||||
    keybindings = {
 | 
			
		||||
      "alt+c" = "copy_to_clipboard";
 | 
			
		||||
 | 
			
		||||
@ -96,14 +96,6 @@ in {
 | 
			
		||||
      tectonic # better LaTeX engine
 | 
			
		||||
      virt-manager
 | 
			
		||||
      zeal
 | 
			
		||||
 | 
			
		||||
      # # It is sometimes useful to fine-tune packages, for example, by applying
 | 
			
		||||
      # # overrides. You can do that directly here, just don't forget the
 | 
			
		||||
      # # parentheses. Maybe you want to install Nerd Fonts with a limited number of
 | 
			
		||||
      # # fonts?
 | 
			
		||||
      # (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
 | 
			
		||||
 | 
			
		||||
      # Custom scripts
 | 
			
		||||
    ]
 | 
			
		||||
    ++ scripts;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user