theme-setter/targets/wezterm.sh

29 lines
553 B
Bash
Executable File

fileout="$HOME/.config/wezterm/colors.lua"
printf "return {
foreground = '$foreground',
background = '$background',
cursor_fg = '$cursor',
selection_bg = '$highlight',
ansi = {
'$color0',
'$color1',
'$color2',
'$color3',
'$color4',
'$color5',
'$color6',
'$color7',
},
brights = {
'$color8',
'$color9',
'$color10',
'$color11',
'$color12',
'$color13',
'$color14',
'$color15',
}
}" > "$fileout"