dots-of-war/files/nix-stuff/nixpkgs/config/alacritty.nix

41 lines
853 B
Nix
Raw Normal View History

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-04 17:05:32 +00:00
#shell = "/usr/bin/fish";
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;
2020-07-07 09:11:11 +00:00
offset.y = -2;
2020-07-02 13:40:06 +00:00
};
2020-07-03 22:47:14 +00:00
colors = myConf.colors;
2020-07-02 13:40:06 +00:00
};
}