feat: parameterize Terminal font size configuration and update heredoc marker

This commit is contained in:
Marco Gallegos
2025-11-21 07:59:26 -06:00
parent 59b59e0c87
commit 1502e4c2dc
2 changed files with 9 additions and 6 deletions

View File

@@ -84,18 +84,21 @@ configure_terminal_font() {
return
fi
local font_name="MesloLGS Nerd Font"
local font_name font_size
font_name="MesloLGS Nerd Font"
font_size=14
echo "Configurando Terminal para usar la fuente $font_name"
/usr/bin/osascript <<EOF >/dev/null 2>&1
/usr/bin/osascript <<OSA >/dev/null 2>&1
tell application "Terminal"
try
set font name of default settings to "$font_name"
set font size of default settings to 14
set font size of default settings to "$font_size"
set font name of startup settings to "$font_name"
set font size of startup settings to 14
set font size of startup settings to "$font_size"
end try
end tell
EOF
OSA
}
install_oh_my_zsh() {