diff options
Diffstat (limited to 'home/terminal/alacritty')
-rw-r--r-- | home/terminal/alacritty/default.nix | 6 | ||||
-rw-r--r-- | home/terminal/alacritty/theme.nix | 30 |
2 files changed, 2 insertions, 34 deletions
diff --git a/home/terminal/alacritty/default.nix b/home/terminal/alacritty/default.nix index 00e9ca4..72a6d33 100644 --- a/home/terminal/alacritty/default.nix +++ b/home/terminal/alacritty/default.nix @@ -1,7 +1,5 @@ { config, lib, pkgs, ... }: -let - cfg = config.my.home.terminal; - colors = import ./theme.nix; +let cfg = config.my.home.terminal; in { config = lib.mkIf (cfg.program == "alacritty") { programs.alacritty = { @@ -17,7 +15,7 @@ in { style.blinking = "Never"; unfocused_hollow = true; }; - } // colors; + }; }; }; } diff --git a/home/terminal/alacritty/theme.nix b/home/terminal/alacritty/theme.nix deleted file mode 100644 index 90c1abf..0000000 --- a/home/terminal/alacritty/theme.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ - colors = { - primary = { - background = "0xffffff"; - foreground = "0x000000"; - }; - - normal = { - black = "0xfbf1c7"; - red = "0xcc241d"; - green = "0x98971a"; - yellow = "0xd79921"; - blue = "0x458588"; - magenta = "0xb16286"; - cyan = "0x689d6a"; - white = "0x7c6f64"; - }; - - bright = { - black = "0x928374"; - red = "0x9d0006"; - green = "0x79740e"; - yellow = "0xb57614"; - blue = "0x076678"; - magenta = "0x8f3f71"; - cyan = "0x427b58"; - white = "0x3c3836"; - }; - }; -} |