cmacrae / spacebar

A minimal status bar for macOS. Ideal for use with tiling window managers like yabai
MIT License
1.29k stars 51 forks source link

Unrendered icon next to clock #93

Open Yankas opened 3 years ago

Yankas commented 3 years ago

I have an issue with spacebar displaying a question mark icon to the left of the clock, this issue occurs with both my configuration as well as the default configuration (renamed spacebarrc). I have attached a screenshot of a yabai installation without any configuration applied.

MacOS Big Sur 11.6 Spacebar: 1.3.0 spacebar-issue

typkrft commented 3 years ago

Just a wild guess, but maybe you don't have the font set properly. I would make sure you have these two fonts, or replace them with fonts you do have.

spacebar -m config text_font                   "Menlo:Regular:12.0"
spacebar -m config icon_font                   "Font Awesome 5 Free:Solid:12.0"
Yankas commented 3 years ago

Changing the font does not resolve the issue, the font is applied correctly, but the extra question-mark icon is still there. spacebarissue2

typkrft commented 3 years ago

Could you try one of the fonts here https://www.nerdfonts.com/?

StephenWithPH commented 2 years ago

I was unable to solve this problem with NerdFonts (having installed them).

spacebar -m config icon_font            "Hack Nerd Font:Regular:12.0"

I still had a rendered question mark in the exact same spot as the screenshot above.

I was able to solve the problem by hard-coding a system icon as clock_icon:

spacebar -m config clock_icon              "🕰"

It's not ideal, but it makes the question mark go away.

yeongjet commented 2 years ago

@StephenWithPH How did you install Nerd Font?

I installed it using homebrew then this problem solved.

qazer2687 commented 5 months ago

Is there no way to hide this entirely?

qazer2687 commented 5 months ago

Using a blank character as the icon worked.