diff options
author | katherine <ageha@airen-no-jikken.icu> | 2023-12-29 10:26:22 -0700 |
---|---|---|
committer | katherine <ageha@airen-no-jikken.icu> | 2023-12-29 10:26:22 -0700 |
commit | 81381aa5c1bb8d41b30d4e71fb6015e61d5b0ebd (patch) | |
tree | 89136acff48403b1e832368b62424da60602a799 /.config/init | |
parent | 58b3d071187ff8383330a65eeddbd6e8293d5a48 (diff) | |
download | dotfiles-81381aa5c1bb8d41b30d4e71fb6015e61d5b0ebd.tar.gz |
migrate alacritty config to toml
Diffstat (limited to '.config/init')
-rw-r--r-- | .config/init/gen/alacritty.sh | 116 |
1 files changed, 58 insertions, 58 deletions
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 |