From 81381aa5c1bb8d41b30d4e71fb6015e61d5b0ebd Mon Sep 17 00:00:00 2001 From: katherine Date: Fri, 29 Dec 2023 10:26:22 -0700 Subject: migrate alacritty config to toml --- .config/init/gen/alacritty.sh | 116 +++++++++++++++++++++--------------------- 1 file changed, 58 insertions(+), 58 deletions(-) (limited to '.config/init') diff --git a/.config/init/gen/alacritty.sh b/.config/init/gen/alacritty.sh index 66e4f17..621f73a 100644 --- a/.config/init/gen/alacritty.sh +++ b/.config/init/gen/alacritty.sh @@ -1,58 +1,58 @@ -echo "\ -import: - - $HOME/.config/alacritty/main.yml - -font: - normal: - family: $mfont - style: Regular - size: $mfont_size - offset: - y: $mfont_off - -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' - - footer_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 +echo \ +"import = [\"/home/shmibs/.config/alacritty/main.toml\"] + +[font] +size = $mfont_size + +[font.normal] +family = \"$mfont\" +style = \"Regular\" + +[font.offset] +y = $mfont_off + +[colors.normal] +black = \"$std_black\" +blue = \"$std_blue\" +cyan = \"$std_cyan\" +green = \"$std_green\" +magenta = \"$std_magenta\" +red = \"$std_red\" +white = \"$std_white\" +yellow = \"$std_yellow\" + +[colors.bright] +black = \"$light_black\" +blue = \"$light_blue\" +cyan = \"$light_cyan\" +green = \"$light_green\" +magenta = \"$light_magenta\" +red = \"$light_red\" +white = \"$light_white\" +yellow = \"$light_yellow\" + +[colors.hints.start] +foreground = \"$fg_urgent\" +background = \"$bg_urgent\" + +[colors.hints.end] +foreground = \"$fg_focus\" +background = \"$bg_focus\" + +[colors.primary] +background = \"$bg_normal\" +bright_foreground = \"$fg_focus\" +foreground = \"$fg_normal\" + +[colors.search.matches] +foreground = \"$fg_focus\" +background = \"$bg_focus\" + +[colors.search.focused_match] +foreground = \"$fg_urgent\" +background = \"$bg_urgent\" + +[colors.footer_bar] +foreground = \"$fg_normal\" +background = \"$bg_normal\" +" > $tmpdir/alacritty.toml -- cgit v1.2.3