mc, yazi: two mouse-driven TUI file managers, themed by the terminal

Neither gets per-wallpaper files. Both draw with the 16 ANSI colours, so
they follow ghostty's palette the moment theme-apply reloads it — no
restart and none of the reflow a GTK theme switch causes.

mc uses a -defbg skin (paints on the terminal's own background); yazi gets
an ANSI-named theme and stylix's hex-writing yazi target is disabled.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-08-19 19:48:09 +01:00
parent d83b830c1c
commit 90db91f178
2 changed files with 119 additions and 0 deletions

View file

@ -592,6 +592,12 @@ in
# every ANSI-coloured program in a ghostty window follows a switch live.
stylix.targets.fish.enable = false;
# Same reasoning, one layer up: stylix's yazi target writes a theme in
# hex, which would pin yazi to the build-time scheme. home-manager/
# fred.nix gives it an ANSI-named theme instead, so it rides ghostty's
# palette like every other TUI.
stylix.targets.yazi.enable = false;
# Every wallpaper's GTK3 theme, installed up front. theme-apply only
# flips gtk-theme between them, so they all have to exist on disk —
# GTK silently falls back to Adwaita for a name it cannot find.