ops/nixos: tweak alacritty settings
This commit is contained in:
parent
11066035e2
commit
43e8e05e7b
1 changed files with 45 additions and 1 deletions
|
@ -30,7 +30,50 @@
|
|||
depot.nix.pkgs.flameshot
|
||||
]);
|
||||
|
||||
programs.alacritty.enable = true;
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings.font = let
|
||||
iosevka = style: { family = "Iosevka"; inherit style; };
|
||||
in {
|
||||
normal = iosevka "Regular";
|
||||
bold = iosevka "Bold";
|
||||
italic = iosevka "Italic";
|
||||
bold_italic = iosevka "Bold Italic";
|
||||
|
||||
size = 6;
|
||||
};
|
||||
settings.colors = {
|
||||
# Ayu Dark, from https://github.com/alacritty/alacritty/wiki/Color-schemes
|
||||
primary = {
|
||||
background = "#0A0E14";
|
||||
foreground = "#B3B1AD";
|
||||
};
|
||||
|
||||
# Normal colors
|
||||
normal = {
|
||||
black = "#01060E";
|
||||
red = "#EA6C73";
|
||||
green = "#91B362";
|
||||
yellow = "#F9AF4F";
|
||||
blue = "#53BDFA";
|
||||
magenta = "#FAE994";
|
||||
cyan = "#90E1C6";
|
||||
white = "#C7C7C7";
|
||||
};
|
||||
|
||||
# Bright colors
|
||||
bright = {
|
||||
black = "#686868";
|
||||
red = "#F07178";
|
||||
green = "#C2D94C";
|
||||
yellow = "#FFB454";
|
||||
blue = "#59C2FF";
|
||||
magenta = "#FFEE99";
|
||||
cyan = "#95E6CB";
|
||||
white = "#FFFFFF";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.file."bin/screencap" = {
|
||||
executable = true;
|
||||
|
@ -65,6 +108,7 @@
|
|||
in lib.mkOptionDefault {
|
||||
"${modifier}+l" = "exec loginctl lock-session";
|
||||
"${modifier}+p" = "exec ${depot.nix.pkgs.flameshot}/bin/flameshot gui";
|
||||
"${modifier}+Return" = "exec ${pkgs.alacritty}/bin/alacritty";
|
||||
};
|
||||
startup = [
|
||||
{ command = "xss-lock --transfer-sleep-lock -- i3lock --nofork"; notification = false; }
|
||||
|
|
Loading…
Reference in a new issue