From 4e325d70dbd783526f76491e5bbba40fcd6edd5b Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 9 Apr 2022 12:22:55 -0700 Subject: delete configuration related to colors Setting colors is hard, and it's an easy way to waste time. The only color settings I keep are the ones related to waybar, to make sure it does not look like a Christmas tree. Which means that most applications are going to use their default theme, and I'm OK with that. --- home/terminal/alacritty/default.nix | 6 ++---- home/terminal/alacritty/theme.nix | 30 ------------------------------ 2 files changed, 2 insertions(+), 34 deletions(-) delete mode 100644 home/terminal/alacritty/theme.nix (limited to 'home/terminal/alacritty') 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"; - }; - }; -} -- cgit 1.4.1