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

Waybar fonts not applying after recent update #2692

Closed
Ay1tsMe opened this issue Nov 26, 2023 · 3 comments
Closed

Waybar fonts not applying after recent update #2692

Ay1tsMe opened this issue Nov 26, 2023 · 3 comments

Comments

@Ay1tsMe
Copy link

Ay1tsMe commented Nov 26, 2023

I updated waybar from 0.9.22 to 0.9.24 and now waybar wont use the font specified in my style.css file. Here is my style.css file:

@import "colors-waybar.css";

* {
    border: none;
    border-radius: 0;
    font-family: "JetBrainsMono Nerd Font";
    font-weight: bold;
    font-size: 16px;
    min-height: 0;
}

window#waybar {
    background: rgba(21, 18, 27, 0); 
    color: @color7;
}

tooltip {
    background: #1e1e2e;
    opacity: 0.8;
    border-radius: 10px;
    border-width: 2px;
    border-style: solid;
    border-color: #11111b;
}

tooltip label{
    color:@color3;
}

#workspaces button {
    padding: 5px;
    color: @color7;
    margin-right: 5px;
}

#workspaces button.active {
    color: @color7;
}

#workspaces button:hover {
    color: @color1;
    background: @background
}

#custom-launch_wofi,
#custom-lock_screen,
#custom-power_btn,
#custom-weather,
#window,
#cpu,
#disk,
#custom-updates,
#memory,
#clock,
#battery,
#pulseaudio,
#network,
#tray,
#temperature,
#workspaces,
#backlight {
    background: @background;
    opacity: 0.8;
    padding: 0px 10px;
    margin: 3px 0px;
    margin-top: 10px;
    border: 0px;
}

#tray, #custom-lock_screen, #temperature, #backlight, #custom-launch_wofi, #cpu {
    border-radius: 10px 0px 0px 10px;
}

#custom-weather, #custom-power_btn, #workspaces, #pulseaudio.microphone, #battery, #disk {
    border-radius: 0px 10px 10px 0px;
    margin-right: 10px;
}

#temperature {
	color: @color4;
}

#temperature.critical {
    color: #e92d4d;
}


#workspaces {
    padding-right: 0px;
    padding-left: 5px;
}

#window {
    border-radius: 10px;
    margin-left: 20px;
    margin-right: 20px;
}

#custom-launch_wofi {
    color: @color3;
    margin-left: 10px;
    border-right: 0px;
}

#pulseaudio {
    color: @color1;
    border-left: 0px;
    border-right: 0px;
}

#pulseaudio.microphone {
    color: @color2;
    border-left: 0px;
    border-right: 0px;
}

#battery {
    color: #a6e3a1;
    border-left: 0px;
}

I've specified the font in * and I havn't changed my config at all after updating and now it's using what I'm assuming to be the default font. Here's what my font looks like now. This doesn't look like jetbrains:
swappy-20231126-105421

@manfred3000
Copy link

manfred3000 commented Nov 26, 2023

There was an upstream change regarding font naming, try "JetBrainsMono NF", or simply "JetBrainsMono".

@Finii
Copy link

Finii commented Nov 26, 2023

Sorry for the name change, a Nerd Fonts bugfix release (3.1.1) is underway.

@Ay1tsMe
Copy link
Author

Ay1tsMe commented Nov 27, 2023

There was an upstream change regarding font naming, try "JetBrainsMono NF", or simply "JetBrainsMono".

This fixed it. Thank you

@Ay1tsMe Ay1tsMe closed this as completed Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants