aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Löbl <pavel@loebl.cz>2024-10-02 09:06:54 +0200
committerGitHub <noreply@github.com>2024-10-02 09:06:54 +0200
commite40a353ba365b2cea689f62007616a731d6c9d5e (patch)
treed6c34083c1a60fd0b27aca344212b065b97e7ce6
parentadd konsole generator (diff)
alacritty: switch to TOML configuration format (#7)
Alacritty uses TOML instead of YAML now
-rwxr-xr-xcolors/alacritty.sh49
1 files changed, 24 insertions, 25 deletions
diff --git a/colors/alacritty.sh b/colors/alacritty.sh
index d3190a8..dfaff8e 100755
--- a/colors/alacritty.sh
+++ b/colors/alacritty.sh
@@ -3,31 +3,30 @@
cat <<HEREDOC
# $theme
-colors:
- # Default colors
- primary:
- foreground: '#$foreground'
- background: '#$background'
+# Default colors
+[colors.primary]
+foreground = '#$foreground'
+background = '#$background'
- # Normal colors
- normal:
- black: '#$black'
- red: '#$red'
- green: '#$green'
- yellow: '#$yellow'
- blue: '#$blue'
- magenta: '#$magenta'
- cyan: '#$cyan'
- white: '#$white'
+# Normal colors
+[colors.normal]
+black = '#$black'
+red = '#$red'
+green = '#$green'
+yellow = '#$yellow'
+blue = '#$blue'
+magenta = '#$magenta'
+cyan = '#$cyan'
+white = '#$white'
- # Bright colors
- bright:
- black: '#$brblack'
- red: '#$brred'
- green: '#$brgreen'
- yellow: '#$bryellow'
- blue: '#$brblue'
- magenta: '#$brmagenta'
- cyan: '#$brcyan'
- white: '#$brwhite'
+# Bright colors
+[colors.bright]
+black = '#$brblack'
+red = '#$brred'
+green = '#$brgreen'
+yellow = '#$bryellow'
+blue = '#$brblue'
+magenta = '#$brmagenta'
+cyan = '#$brcyan'
+white = '#$brwhite'
HEREDOC