2024-02-06 06:24:31 +00:00
|
|
|
{ pkgs, lib, inputs, config, osConfig, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
programs.alacritty = {
|
2024-02-06 06:40:43 +00:00
|
|
|
enable = (config.term == "alacritty");
|
2024-02-06 06:24:31 +00:00
|
|
|
|
|
|
|
settings = {
|
|
|
|
window = {
|
|
|
|
opacity = 0.95;
|
|
|
|
dynamic_padding = true;
|
|
|
|
};
|
|
|
|
|
2024-02-06 06:40:43 +00:00
|
|
|
colors.primary = {
|
2024-02-06 06:24:31 +00:00
|
|
|
foreground = "#cccccc";
|
|
|
|
background = "#333333";
|
|
|
|
};
|
|
|
|
|
|
|
|
cursor = {
|
2024-02-06 06:40:43 +00:00
|
|
|
style.blinking = "On";
|
2024-02-06 06:24:31 +00:00
|
|
|
blink_interval = 500;
|
|
|
|
blink_timeout = 15;
|
|
|
|
};
|
|
|
|
|
|
|
|
mouse = {
|
|
|
|
hide_when_typing = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
runInTerm = if (config.term == "alacritty") then "${pkgs.alacritty}/bin/alacritty -e" else lib.mkDefault "";
|
|
|
|
}
|