2020-07-03 22:47:14 +00:00
|
|
|
{ pkgs, myConf, ... }:
|
2020-07-02 13:40:06 +00:00
|
|
|
{
|
|
|
|
enable = true;
|
2020-07-03 22:47:14 +00:00
|
|
|
package = (
|
|
|
|
pkgs.writeScriptBin "alacritty" ''
|
|
|
|
#!/bin/sh
|
|
|
|
exec nixGLIntel ${pkgs.alacritty}/bin/alacritty "$@"
|
|
|
|
''
|
|
|
|
);
|
2020-07-02 13:40:06 +00:00
|
|
|
settings = {
|
|
|
|
window = {
|
|
|
|
padding.x = 20;
|
|
|
|
padding.y = 20;
|
|
|
|
dynamic_padding = true;
|
|
|
|
};
|
|
|
|
dynamic_title = true;
|
|
|
|
cursor = {
|
|
|
|
style = "Block";
|
|
|
|
unfocused_hollow = true;
|
|
|
|
};
|
2020-07-03 22:47:14 +00:00
|
|
|
shell = "/home/leon/.nix-profile/bin/zsh";
|
2020-07-02 13:40:06 +00:00
|
|
|
mouse = {
|
|
|
|
double_click.threshold = 300;
|
|
|
|
triple_click.threshold = 300;
|
|
|
|
hide_when_typing = true;
|
|
|
|
url.launcher.program = "xdg-open";
|
|
|
|
};
|
|
|
|
|
|
|
|
background_opacity = 1;
|
2020-07-03 22:47:14 +00:00
|
|
|
font = {
|
2020-07-02 13:40:06 +00:00
|
|
|
size = 12;
|
2020-07-03 22:47:14 +00:00
|
|
|
#normal.family = "Iosevka";
|
2020-07-02 13:40:06 +00:00
|
|
|
normal.family = "Terminus (TTF)";
|
|
|
|
offset.x = 0;
|
|
|
|
offset.y = 0;
|
|
|
|
};
|
2020-07-03 22:47:14 +00:00
|
|
|
colors = myConf.colors;
|
2020-07-02 13:40:06 +00:00
|
|
|
};
|
|
|
|
}
|