spacebar icon indicating copy to clipboard operation
spacebar copied to clipboard

Unrendered icon next to clock

Open Yankas opened this issue 2 years ago • 7 comments

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

Yankas avatar Nov 04 '21 13:11 Yankas

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"

typkrft avatar Nov 04 '21 15:11 typkrft

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

Yankas avatar Nov 08 '21 09:11 Yankas

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

typkrft avatar Nov 12 '21 03:11 typkrft

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.

StephenWithPH avatar Aug 05 '22 16:08 StephenWithPH

@StephenWithPH How did you install Nerd Font?

I installed it using homebrew then this problem solved.

yeongjet avatar Sep 15 '22 06:09 yeongjet