1
0
Fork 0
gnu-plus-dotfiles/dot_config/foot/foot.ini
rain c6779c57ce foot.ini: fix Maple Mono CN -> Maple Mono NF (was rendering Liberation Sans)
The font= line referenced 'Maple Mono CN', the CJK variant from a separate
release zip we don't install. The repo only installs Maple Mono NF (Latin
Nerd Font variant from subframe7536/Maple-font).

foot silently falls back to the system sans font when the requested family
is missing, so on every box except miche foot was rendering Liberation Sans
(noto, dejavu, etc.) while looking like a working terminal. miche has both
CN and NF installed from prior tinkering, which is why it was the only
box where the bug was invisible.

Every other config in this repo (nvim, wofi, waybar, mako) already uses
'Maple Mono NF' correctly. Only foot had the wrong suffix.

Removed the 'Terminus:size=14' fallback — Terminus isn't installed either,
so it was dead weight that also triggered foot to fall through to system
default if Maple Mono CN failed to match.

Verified: fc-match 'Maple Mono NF' now returns MapleMono-NF-Regular.ttf on
tadbit (was: Liberation Sans).
2026-06-23 20:29:03 -04:00

96 lines
2.8 KiB
INI

# foot terminal — gruvbox dark, Maple Mono NF 14pt.
# Reference: man foot.ini
#
# IMPORTANT: use `Maple Mono NF` (the Latin-only Nerd Font variant installed by
# run_once_20). NOT `Maple Mono CN` — that's the CJK variant from a separate
# release zip we don't install. foot silently falls back to the system sans
# font if the requested family is missing (Liberation Sans / Noto Sans Mono /
# DejaVu Sans depending on distro), and the terminal still LOOKS fine — you
# just get the wrong font. Verified 2026-06-23: every box except miche was
# rendering Liberation Sans / Noto Sans Mono in foot instead of Maple Mono NF.
[main]
font=Maple Mono NF:size=14
font-bold=Maple Mono NF:weight=bold:size=14
font-italic=Maple Mono NF:slant=italic:size=14
font-bold-italic=Maple Mono NF:weight=bold:slant=italic:size=14
font-size-adjustment=0.5
pad=8x8
term=foot
# (Previously set to "foot-extra", but that terminfo is not installed in the
# CachyOS foot package; only foot, foot+base, foot-direct are. Setting
# TERM=foot-extra breaks every ncurses program — htop, nvtop, vim, etc. —
# with "cannot initialize terminal type". "foot" has 256 colors and
# everything modern tools need.)
# kaiser runs zsh as the login shell (SHELL=/bin/fish was misleading — that
# comes from sway's inherited env, not the user's actual shell). Hardcode
# /usr/bin/zsh here. foot does NOT expand $SHELL in the shell= value (it
# passes the literal string to its child), so don't try the sh,-c trick —
# it just makes foot spawn a binary literally named "${SHELL:-/bin/bash}"
# and exit with "No such file or directory".
shell=/usr/bin/zsh
# PTY
# utmphelper is not packaged with foot on this CachyOS build. Leave it unset
# to disable utmp logging for foot sessions; harmless and not required.
# Initial geometry
initial-window-size-chars=120x32
[scrollback]
lines=10000
indicator-position=relative
[cursor]
style=block
blink=yes
blink-rate=500
beam-thickness=2px
[mouse]
hide-when-typing=yes
alternate-scroll-mode=true
[colors-dark]
# Gruvbox dark palette (gruvbox-community) — bg0_h / fg / 16 ANSI
# https://github.com/gruvbox-community/gruvbox
background=1d2021
foreground=ebdbb2
# Slight transparency — 0.90 alpha. Foot 1.27+ uses a separate alpha key
# (in [colors-dark], not 8-digit hex — that was foot 1.24 syntax).
alpha=0.90
# Regular ANSI (0-7)
regular0=282828
regular1=cc241d
regular2=98971a
regular3=d79921
regular4=458588
regular5=b16286
regular6=689d6a
regular7=a89984
# Bright ANSI (8-15)
bright0=928374
bright1=fb4934
bright2=b8bb26
bright3=fabd2f
bright4=83a598
bright5=d3869b
bright6=8ec07c
bright7=ebdbb2
# Selection (FG BG pair)
selection-foreground=1d2021
selection-background=ebdbb2
# Search box (FG BG pairs)
search-box-match=ebdbb2 458588
search-box-no-match=ebdbb2 cc241d
[bell]
urgent=no
notify=no
visual=no
[url]
launch=xdg-open {url}