Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong font being used #3894

Open
redactedontop opened this issue Jan 19, 2025 · 3 comments
Open

Wrong font being used #3894

redactedontop opened this issue Jan 19, 2025 · 3 comments

Comments

@redactedontop
Copy link

redactedontop commented Jan 19, 2025

Heya!

In my waybar setup (with * { font-family: "Maple Mono NF" }), the font gets changed to the default one, while with something like Inter, it works perfectly.
What is going on?

Thanks,
Alex.

CSS:
`
@import "colors/catppuccin.css";

window#waybar {
background-color: transparent;
}

window > box {
background-color: @background;
margin: 6px 8px;
}

  • {
    font-family: "Maple Mono NF";
    font-weight: 600;
    font-size: 9px;
    padding: 0;
    border-radius: 6px;
    }

.modules-left,
.modules-center,
.modules-right {
}

#custom-launcher,
#workspaces,
#clock,
#bluetooth.connected,
#custom-spotify,
#network,
#network.linked,
#network.ethernet,
#network.wifi,
#custom-powermenu,
box#sys-tray {
color: @text;
margin: 2px;
background-color: @background;
}

#custom-launcher {
color: @color12;
padding-left: 14px;
}

#workspaces {
padding: 2px 10px;
}

#workspaces button {
color: @textlight;
padding: 0px 5px;
}

#workspaces button.active {
color: @background;
background-color: @color12;
}

#workspaces button.urgent {
color: @color6;
}

#workspaces button:hover {
color: @color12;
background-color: @background;
}

box#sys-tray {
padding: 2px 10px 2px 10px;
}

#backlight {
color: @textlight;
}
#pulseaudio {
color: @textlight;
}
#battery {
color: @textlight;
}

.pulseaudio-grp {
color: @textlight;
}

#battery.text {
padding-right: 8px;
}
#backlight.text {
}
#pulseaudio.text {
padding-right: 8px;
}

#clock {
padding: 2px 10px;
}

#custom-powermenu {
padding: 2px 12px 2px 10px;
}

#bluetooth,
#bluetooth.off,
#bluetooth.on {
color: @textlight;
padding: 2px 4px 2px 10px;
margin: 2px;
background-color: @background;
}

#network,
#network.disconnected,
#network.disabled {
color: @textlight;
padding: 2px 8px;
}

#custom-spotify {
background-color: @backgrounddark;
padding: 2px 10px;
}

#custom-powermenu {
color: @color13;
padding-right: 14px;
}

tooltip {
padding: 25px;
background-color: @background;
color: @text;
}

tooltip label {
padding: 15px;
color: @textlight;
}

label:focus {
background-color: @background;
}

#clock {
color: @text;
}
`

@wmealing
Copy link

I'm not support, I believe you may have specified the font incorrectly, generate a list of fonts on your system (man fc-list) and include the relevant ones here.

@redactedontop
Copy link
Author

/usr/share/fonts/ttf-maple-beta/MapleMono-NF-CN-MediumItalic.ttf: Maple Mono NF CN,Maple Mono NF CN Medium:style=Medium Italic,Italic
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-CN-LightItalic.ttf: Maple Mono NF CN,Maple Mono NF CN Light:style=Light Italic,Italic
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-CN-ExtraLightItalic.ttf: Maple Mono NF CN,Maple Mono NF CN ExtraLight:style=ExtraLight Italic,Italic
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-CN-ThinItalic.ttf: Maple Mono NF CN,Maple Mono NF CN Thin:style=Thin Italic,Italic
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-MediumItalic.ttf: Maple Mono NF,Maple Mono NF Medium:style=Medium Italic,Italic
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-CN-BoldItalic.ttf: Maple Mono NF CN:style=Bold Italic
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-Light.ttf: Maple Mono NF,Maple Mono NF Light:style=Light,Regular
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-Thin.ttf: Maple Mono NF,Maple Mono NF Thin:style=Thin,Regular
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-SemiBoldItalic.ttf: Maple Mono NF,Maple Mono NF SemiBold:style=SemiBold Italic,Italic
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-Regular.ttf: Maple Mono NF:style=Regular
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-CN-SemiBoldItalic.ttf: Maple Mono NF CN,Maple Mono NF CN SemiBold:style=SemiBold Italic,Italic
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-CN-SemiBold.ttf: Maple Mono NF CN,Maple Mono NF CN SemiBold:style=SemiBold,Regular
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-ExtraBold.ttf: Maple Mono NF,Maple Mono NF ExtraBold:style=ExtraBold,Regular
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-BoldItalic.ttf: Maple Mono NF:style=Bold Italic
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-Medium.ttf: Maple Mono NF,Maple Mono NF Medium:style=Medium,Regular
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-CN-Medium.ttf: Maple Mono NF CN,Maple Mono NF CN Medium:style=Medium,Regular
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-ThinItalic.ttf: Maple Mono NF,Maple Mono NF Thin:style=Thin Italic,Italic
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-LightItalic.ttf: Maple Mono NF,Maple Mono NF Light:style=Light Italic,Italic
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-ExtraBoldItalic.ttf: Maple Mono NF,Maple Mono NF ExtraBold:style=ExtraBold Italic,Italic
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-Italic.ttf: Maple Mono NF:style=Italic
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-CN-Italic.ttf: Maple Mono NF CN:style=Italic
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-CN-ExtraBold.ttf: Maple Mono NF CN,Maple Mono NF CN ExtraBold:style=ExtraBold,Regular
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-ExtraLight.ttf: Maple Mono NF,Maple Mono NF ExtraLight:style=ExtraLight,Regular
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-SemiBold.ttf: Maple Mono NF,Maple Mono NF SemiBold:style=SemiBold,Regular
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-ExtraLightItalic.ttf: Maple Mono NF,Maple Mono NF ExtraLight:style=ExtraLight Italic,Italic
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-CN-Thin.ttf: Maple Mono NF CN,Maple Mono NF CN Thin:style=Thin,Regular
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-CN-Bold.ttf: Maple Mono NF CN:style=Bold
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-CN-Light.ttf: Maple Mono NF CN,Maple Mono NF CN Light:style=Light,Regular
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-CN-Regular.ttf: Maple Mono NF CN:style=Regular
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-CN-ExtraLight.ttf: Maple Mono NF CN,Maple Mono NF CN ExtraLight:style=ExtraLight,Regular
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-CN-ExtraBoldItalic.ttf: Maple Mono NF CN,Maple Mono NF CN ExtraBold:style=ExtraBold Italic,Italic
/usr/share/fonts/ttf-maple-beta/MapleMono-NF-Bold.ttf: Maple Mono NF:style=Bold

@redactedontop
Copy link
Author

(fc-list | grep "Maple Mono NF" | wl-copy)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants