mainly alacritty stuff
This commit is contained in:
		
					parent
					
						
							
								57f2638f0e
							
						
					
				
			
			
				commit
				
					
						6869c2acbd
					
				
			
		
					 8 changed files with 134 additions and 10 deletions
				
			
		
							
								
								
									
										113
									
								
								home-manager/luna/categories/desktop/common/alacritty.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										113
									
								
								home-manager/luna/categories/desktop/common/alacritty.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,113 @@ | |||
| { | ||||
|   xdg.mimeApps = { | ||||
|     associations.added = { | ||||
|       "x-scheme-handler/terminal" = "Alacritty.desktop"; | ||||
|     }; | ||||
|     defaultApplications = { | ||||
|       "x-scheme-handler/terminal" = "Alacritty.desktop"; | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   programs = { | ||||
|     alacritty = { | ||||
|       enable = true; | ||||
|       settings = { | ||||
|         env = {TERM = "xterm-256color";}; | ||||
|         font = { | ||||
|           size = 11; | ||||
|         }; | ||||
|         scrolling = { | ||||
|           history = 100000; | ||||
|           multiplier = 3; | ||||
|         }; | ||||
|         keyboard.bindings = [ | ||||
|           { | ||||
|             key = "Return"; | ||||
|             mods = "Control|Shift"; | ||||
|             action = "SpawnNewInstance"; | ||||
|           } | ||||
|           { | ||||
|             key = "Q"; | ||||
|             mods = "Control|Shift"; | ||||
|             action = "ToggleViMode"; | ||||
|           } | ||||
|         ]; | ||||
|         colors = { | ||||
|           #catppuccin | ||||
|           primary = { | ||||
|             background = "#1e1e2e"; | ||||
|             foreground = "#cdd6f4"; | ||||
|             dim_foreground = "#7f849c"; | ||||
|             bright_foreground = "#cdd6f4"; | ||||
|           }; | ||||
|           cursor = { | ||||
|             text = "#1e1e2e"; | ||||
|             cursor = "#f5e0dc"; | ||||
|           }; | ||||
|           vi_mode_cursor = { | ||||
|             text = "#1e1e2e"; | ||||
|             cursor = "#b4befe"; | ||||
|           }; | ||||
|           search = { | ||||
|             matches = { | ||||
|               foreground = "#1e1e2e"; | ||||
|               background = "#a6adc8"; | ||||
|             }; | ||||
|             focused_match = { | ||||
|               foreground = "#1e1e2e"; | ||||
|               background = "#a6e3a1"; | ||||
|             }; | ||||
|           }; | ||||
|           footer_bar = { | ||||
|             foreground = "#1e1e2e"; | ||||
|             background = "#a6adc8"; | ||||
|           }; | ||||
|           hints = { | ||||
|             start = { | ||||
|               foreground = "#1e1e2e"; | ||||
|               background = "#f9e2af"; | ||||
|             }; | ||||
|             end = { | ||||
|               foreground = "#1e1e2e"; | ||||
|               background = "#a6adc8"; | ||||
|             }; | ||||
|           }; | ||||
|           selection = { | ||||
|             text = "#1e1e2e"; | ||||
|             background = "#f5e0dc"; | ||||
|           }; | ||||
|           normal = { | ||||
|             black = "#45475a"; | ||||
|             red = "#f38ba8"; | ||||
|             green = "#a6e3a1"; | ||||
|             yellow = "#f9e2af"; | ||||
|             blue = "#89b4fa"; | ||||
|             magenta = "#f5c2e7"; | ||||
|             cyan = "#94e2d5"; | ||||
|             white = "#bac2de"; | ||||
|           }; | ||||
|           bright = { | ||||
|             black = "#585b70"; | ||||
|             red = "#f38ba8"; | ||||
|             green = "#a6e3a1"; | ||||
|             yellow = "#f9e2af"; | ||||
|             blue = "#89b4fa"; | ||||
|             magenta = "#f5c2e7"; | ||||
|             cyan = "#94e2d5"; | ||||
|             white = "#a6adc8"; | ||||
|           }; | ||||
|           dim = { | ||||
|             black = "#45475a"; | ||||
|             red = "#f38ba8"; | ||||
|             green = "#a6e3a1"; | ||||
|             yellow = "#f9e2af"; | ||||
|             blue = "#89b4fa"; | ||||
|             magenta = "#f5c2e7"; | ||||
|             cyan = "#94e2d5"; | ||||
|             white = "#bac2de"; | ||||
|           }; | ||||
|         }; | ||||
|       }; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
|  | @ -1,5 +1,6 @@ | |||
| {...}: { | ||||
|   imports = [ | ||||
|     ./alacritty.nix | ||||
|     ./fonts.nix | ||||
|   ]; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue