romkatv / powerlevel10k

A Zsh theme
MIT License
46.37k stars 2.19k forks source link

Artix Linux symbol is missing #898

Closed saloniamatteo closed 4 years ago

saloniamatteo commented 4 years ago

Hello there!

I use Powerlevel10k on Arch Linux, as well as Artix Linux.

I noticed that I only have the Arch symbol (on Arch) but I only have the Tux symbol on Artix.

How can I add the custom symbol? If I can't, can you add it? Here's the Artix artwork (svg):

https://gitea.artixlinux.org/artix/artwork/src/branch/master/logo https://gitea.artixlinux.org/artix/artwork/src/branch/master/logo/Signet_ColorFull.svg https://gitea.artixlinux.org/artix/artwork/src/branch/master/logo/Signet_ColorSingle.svg https://gitea.artixlinux.org/artix/artwork/src/branch/master/logo/Signet_Grayscale.svg

Here's an image for reference

artixarch

romkatv commented 4 years ago

How can I add the custom symbol?

  1. Update powerlevel10k to the latest version.
  2. Add the following parameter to ~/.p10k.zsh:
    typeset -g POWERLEVEL9K_LINUX_ARTIX_ICON='\uF17C'

'\uF17C' is the tux. Replace it with anything you want. Unless your font has a glyph for Artix Linux logo (none of the fonts I know of have it), you'll have to settle for something more mundane.