about summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hm/soispha/conf/alacritty/default.nix9
-rw-r--r--hm/soispha/conf/alacritty/yaml/base.yml (renamed from hm/soispha/conf/alacritty/alacritty.yml)0
-rw-r--r--hm/soispha/conf/alacritty/yaml/colorscheme.yml31
3 files changed, 38 insertions, 2 deletions
diff --git a/hm/soispha/conf/alacritty/default.nix b/hm/soispha/conf/alacritty/default.nix
index 4e98f502..7c23c919 100644
--- a/hm/soispha/conf/alacritty/default.nix
+++ b/hm/soispha/conf/alacritty/default.nix
@@ -1,6 +1,11 @@
-{config, ...}: {
+{lib, ...}: let
+  config_file = ''
+    ${lib.strings.fileContents ./yaml/base.yml}
+    ${lib.strings.fileContents ./yaml/colorscheme.yml}
+  '';
+in {
   programs.alacritty = {
     enable = true;
   };
-  xdg.configFile."alacritty/alacritty.yml".source = ./alacritty.yml;
+  xdg.configFile."alacritty/alacritty.yml".text = config_file;
 }
diff --git a/hm/soispha/conf/alacritty/alacritty.yml b/hm/soispha/conf/alacritty/yaml/base.yml
index fdccac3f..fdccac3f 100644
--- a/hm/soispha/conf/alacritty/alacritty.yml
+++ b/hm/soispha/conf/alacritty/yaml/base.yml
diff --git a/hm/soispha/conf/alacritty/yaml/colorscheme.yml b/hm/soispha/conf/alacritty/yaml/colorscheme.yml
new file mode 100644
index 00000000..4e0abfae
--- /dev/null
+++ b/hm/soispha/conf/alacritty/yaml/colorscheme.yml
@@ -0,0 +1,31 @@
+# Nightfox Alacritty Colors
+# Style: carbonfox
+# Upstream: https://github.com/edeneast/nightfox.nvim/raw/main/extra/carbonfox/nightfox_alacritty.yml
+colors:
+  # Default colors
+  primary:
+    background: '0x161616'
+    foreground: '0xf2f4f8'
+  # Normal colors
+  normal:
+    black:   '0x282828'
+    red:     '0xee5396'
+    green:   '0x25be6a'
+    yellow:  '0x08bdba'
+    blue:    '0x78a9ff'
+    magenta: '0xbe95ff'
+    cyan:    '0x33b1ff'
+    white:   '0xdfdfe0'
+  # Bright colors
+  bright:
+    black:   '0x484848'
+    red:     '0xf16da6'
+    green:   '0x46c880'
+    yellow:  '0x2dc7c4'
+    blue:    '0x8cb6ff'
+    magenta: '0xc8a5ff'
+    cyan:    '0x52bdff'
+    white:   '0xe4e4e5'
+  indexed_colors:
+    - { index: 16, color: '0x3ddbd9' }
+    - { index: 17, color: '0xff7eb6' }