OPINIONATED OMARCHY
TROUBLESHOOTING CORPUS
790
RECORDS
790
AUDITED
0
UNCHECKED
2388
SOURCES
LIVE
omarchy-theming low common DISPUTE

Stop Foot's font size resetting to 9pt every time you change the font family

omarchyomarchy-4hyprlandwayland
AUDITED Audited against its sources and confirmed accurate.

Symptom

After picking a font in Style > Font (or running omarchy font set), the Foot terminal is suddenly much smaller than kitty/alacritty/ghostty. grep '^font=' ~/.config/foot/foot.ini shows font=MesloLGLDZ Nerd Font:size=9 even though you had previously set a larger size with omarchy display text size.

Cause

The Foot branch of bin/omarchy-font-set rewrites the whole font= line with a hardcoded size: sed -i "s/^font=.*/font=$font_name:size=9/g" ~/.config/foot/foot.ini. The kitty, alacritty and ghostty branches only rewrite the family, so their size survives. The two commands fight: picking a font in the GUI silently undoes omarchy display text size.

Fix

Re-apply the display text size after every font change:


omarchy display text size 16
grep '^font=' ~/.config/foot/foot.ini

Or fix the size directly in ~/.config/foot/foot.ini:


sed -i 's/^font=\(.*\):size=.*/font=\1:size=12/' ~/.config/foot/foot.ini

To stop it recurring, add a post-font hook that re-applies your size:


mkdir -p ~/.config/omarchy/hooks/font-set.d
cat > ~/.config/omarchy/hooks/font-set.d/20-foot-size.sh <<'EOF'
#!/bin/bash
sed -i 's/^font=\(.*\):size=.*/font=\1:size=12/' ~/.config/foot/foot.ini
EOF
chmod +x ~/.config/omarchy/hooks/font-set.d/20-foot-size.sh

Foot does not hot-reload the font size, so open a new Foot window to see it.

Verify

grep '^font=' ~/.config/foot/foot.ini shows your intended :size=N, and a newly opened Foot window is visually the same text size as kitty/alacritty/ghostty.

Sources

foot-font-size-reset-to-9-after-font-change