FelixKratz / dotfiles

My personal macOS configuration
GNU General Public License v3.0
929 stars 92 forks source link

Inquiry about the font used in icons.sh #17

Closed 10ve closed 1 year ago

10ve commented 1 year ago

I'm using the sketchybar config, but I'm having trouble with the symbols not displaying correctly in VS Code. I'm wondering if this is related to the font used in icons.sh.

Could you please provide some information about the font used in icons.sh

I appreciate your help in this matter.

Thank you!

Screenshot 2023-04-12 at 10 15 05 AM Screenshot 2023-04-12 at 10 15 30 AM
FelixKratz commented 1 year ago

The font of these icons is apples sf-symbols font. They do not show properly in my editor (neovim) as well, but they show correctly in the bar if you have installed sf-symbols.

10ve commented 1 year ago

Thank you for your response. I have found that using the 'SF Pro *' font family can help display symbol fonts correctly in editors. in nvim

Screenshot 2023-04-13 at 9 15 50 AM

in vscode

Screenshot 2023-04-13 at 9 16 30 AM

And can this command lalt - 1 : SPACES=($(yabai -m query --displays --display | jq '.spaces[]')) && [[ -n $SPACES[1] ]] && yabai -m space --focus $SPACES[1] be improved to switch desktops?"

FelixKratz commented 1 year ago

And can this command lalt - 1 : SPACES=($(yabai -m query --displays --display | jq '.spaces[]')) && [[ -n $SPACES[1] ]] && yabai -m space --focus $SPACES[1] be improved to switch desktops?"

Thanks for this snippet, it is much cleaner than what I had in my config: https://github.com/FelixKratz/dotfiles/commit/184d3ba9687a9638256a4d02be64d888ecd823fd What exactly do you mean by switch desktops?

10ve commented 1 year ago

Thank you for your message. I just wanted to let you know that English is not my native language, so while I can understand the meaning of your message, my ability to express myself in English may be limited.

alt - 1 : SPACES=($(yabai -m query --displays --display | jq '.spaces[]')) && [[ -n $SPACES[1] ]] && yabai -m space --focus $SPACES[1], it seems that this command provides more flexibility when switching between spaces compared to using a fixed set of four desktops.