Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.7k stars 710 forks source link

font awesome icons in workspace names are too small #1433

Closed eoli3n closed 2 years ago

eoli3n commented 2 years ago
$ sway --version
sway version 1.7

$ waybar --version
Waybar v0.9.9

Sway config: https://github.com/eoli3n/dotfiles/blob/master/roles/sway/templates/config.j2#L100-L109 Waybar config: https://github.com/eoli3n/dotfiles/blob/master/roles/waybar/templates/style.j2

Before

before

After

sway

It look like twice tinier than before without changing any config. I can't find why, any idea ?

etrnal70 commented 2 years ago

Looks like a problem with the ttf-font-awesome package (assuming you use Arch). Downgrading it from 6.0.0-1 to 5.15.4-1 fix the problem

eoli3n commented 2 years ago

oh ! good catch, thanks

etrnal70 commented 2 years ago

From the discurrsion in https://github.com/greshake/i3status-rust/issues/1428, looks like changing font name from Font Awesome 5 Free to Font Awesome 6 Free fixed the issue. But while the font icons are back to normal, the font character looks bigger and ugly

image

EDIT: Looks like the fault is on my own config

eoli3n commented 2 years ago

I have so many issues with font awesome, let's get rid of it: https://web3canvas.com/font-awesome-alternatives/ Community has ionicons: https://ionic.io/ionicons/v4

eoli3n commented 2 years ago

actually, ionicons is even worse, all icons are small too, and finding icons in the font is pretty hard without a unicode cheatsheet