restructure x11
This commit is contained in:
parent
a4a16cc97c
commit
8b6dd79516
19 changed files with 406 additions and 312 deletions
46
home/modules/linux/graphical/alacritty.nix
Normal file
46
home/modules/linux/graphical/alacritty.nix
Normal file
|
@ -0,0 +1,46 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
|
||||
with lib;
|
||||
{
|
||||
programs.alacritty = mkIf (config.linux.graphical.type != null) {
|
||||
enable = true;
|
||||
package = pkgs.unstable.alacritty;
|
||||
|
||||
settings = {
|
||||
window.opacity = 0.95;
|
||||
font = {
|
||||
size = 14.0;
|
||||
normal.family = "Fantasque Sans Mono Nerd Font";
|
||||
};
|
||||
shell = {
|
||||
program = "/bin/sh";
|
||||
args = [ "-ic" "${config.programs.fish.package}/bin/fish" ];
|
||||
};
|
||||
colors = {
|
||||
# Default colors
|
||||
primary.background = "0xf1f1f1";
|
||||
primary.foreground = "0x424242";
|
||||
|
||||
# Normal colors
|
||||
normal.black = "0x212121";
|
||||
normal.red = "0xc30771";
|
||||
normal.green = "0x10a778";
|
||||
normal.yellow = "0xa89c14";
|
||||
normal.blue = "0x008ec4";
|
||||
normal.magenta = "0x523c79";
|
||||
normal.cyan = "0x20a5ba";
|
||||
normal.white = "0xe0e0e0";
|
||||
|
||||
# Bright colors
|
||||
bright.black = "0x212121";
|
||||
bright.red = "0xfb007a";
|
||||
bright.green = "0x5fd7af";
|
||||
bright.yellow = "0xf3e430";
|
||||
bright.blue = "0x20bbfc";
|
||||
bright.magenta = "0x6855de";
|
||||
bright.cyan = "0x4fb8cc";
|
||||
bright.white = "0xf1f1f1";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue