aboutsummaryrefslogtreecommitdiffstats
path: root/.config/init/gen/alacritty.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/init/gen/alacritty.sh')
-rw-r--r--.config/init/gen/alacritty.sh56
1 files changed, 56 insertions, 0 deletions
diff --git a/.config/init/gen/alacritty.sh b/.config/init/gen/alacritty.sh
new file mode 100644
index 0000000..91fa126
--- /dev/null
+++ b/.config/init/gen/alacritty.sh
@@ -0,0 +1,56 @@
+echo "\
+import:
+ - $HOME/.config/alacritty/main.yml
+
+font:
+ normal:
+ family: $mfont
+ style: Regular
+ size: $mfont_size
+
+colors:
+ primary:
+ background: '$bg_normal'
+ foreground: '$fg_normal'
+ bright_foreground: '$fg_focus'
+
+ search:
+ matches:
+ foreground: '$fg_focus'
+ background: '$bg_focus'
+ focused_match:
+ foreground: '$fg_urgent'
+ background: '$bg_urgent'
+
+ bar:
+ foreground: '$fg_normal'
+ background: '$bg_normal'
+
+ hints:
+ start:
+ foreground: '$fg_urgent'
+ background: '$bg_urgent'
+ end:
+ foreground: '$fg_focus'
+ background: '$bg_focus'
+
+ normal:
+ black: '$std_black'
+ red: '$std_red'
+ green: '$std_green'
+ yellow: '$std_yellow'
+ blue: '$std_blue'
+ magenta: '$std_magenta'
+ cyan: '$std_cyan'
+ white: '$std_white'
+
+ bright:
+ black: '$light_black'
+ red: '$light_red'
+ green: '$light_green'
+ yellow: '$light_yellow'
+ blue: '$light_blue'
+ magenta: '$light_magenta'
+ cyan: '$light_cyan'
+ white: '$light_white'
+" > $tmpdir/alacritty.yml