- Fix misnamed fallback font.

- Create new \directory style.
This commit is contained in:
2025-10-21 15:54:21 -05:00
parent 193b6f4145
commit afcc7b08d0

View File

@@ -32,7 +32,7 @@
luaotfload.add_fallback(
"RobotoMono", {
"NotoMono-Medium:mode=harf;",
"NotoSansMono-Medium:mode=harf;",
"NotoSansSymbols-SemiBold:mode=harf;",
"NotoSansSymbols2:mode=harf;",
"NotoEmoji:mode=harf;",
@@ -127,12 +127,18 @@
\sffamily\color{\usemenucolor{txt}}\CurrentMenuElement
}
\changemenuelement*{hyphenatepaths}{first}{\__MenuKeys_path_style:}
\changemenuelement*{hyphenatepaths}{middle}{\__MenuKeys_path_style:}
\changemenuelement*{hyphenatepaths}{last}{\__MenuKeys_path_style:}
\changemenuelement*{hyphenatepaths}{single}{\__MenuKeys_path_style:}
\newmenustyle{mypaths}[
\group_begin:
\sffamily
\color{\usemenucolor{txt}}
]{}[⏵\zws]{}{}{}[\group_end:]{autoModeColor}
\renewmenumacro{\directory}[/]{hyphenatepaths}
% \changemenuelement*{hyphenatepaths}{first}{\__MenuKeys_path_style:}
% \changemenuelement*{hyphenatepaths}{middle}{\__MenuKeys_path_style:}
% \changemenuelement*{hyphenatepaths}{last}{\__MenuKeys_path_style:}
% \changemenuelement*{hyphenatepaths}{single}{\__MenuKeys_path_style:}
\renewmenumacro{\directory}[/]{mypaths}
\renewmenumacro{\keys}[+]{shadowedroundedkeys}
\renewmenumacro{\menu}[>]{angularmenus}