romkatv / powerlevel10k

A Zsh theme
MIT License
46.69k stars 2.2k forks source link

Support for postmarketOS icon in prompt #2732

Open maxigaz opened 4 months ago

maxigaz commented 4 months ago

The logo of postmarketOS was added to Nerd Fonts in v1.2.0, and it also shows up in the patched version of Meslo (installed via the package font-meslo-nerd from the Alpine Linux repos and ttf-meslo-nerd from the Arch Linux repos).

However, I haven't been able to find any references to postmarketOS in Powerlevel10k itself, so I'm guessing that for this to work, checking for the ID postmarketos in /etc/os-release needs to be implemented in Powerlevel10k as well.

romkatv commented 4 months ago

PostmarketOS icon was added to font-logos in v1.2.0, which in turn was incorporated in nerd-fonts in v3.2.0. This icon isn't yet present in MesloLGS NF, whose glyphs are based on Nerd Fonts v3.0.0.