1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-25 05:30:06 +00:00

use U+F327 (Kali Linux logo) only with POWERLEVEL9K_MODE=nerdfont-v3 (#2281)

This commit is contained in:
Roman Perepelitsa 2023-04-24 10:39:39 +02:00
parent 6f8dec7a76
commit bbea8d2d06
2 changed files with 5 additions and 4 deletions

View file

@ -467,7 +467,6 @@ function _p9k_init_icons() {
LINUX_CENTOS_ICON '\uF304'$s #  LINUX_CENTOS_ICON '\uF304'$s # 
LINUX_COREOS_ICON '\uF305'$s #  LINUX_COREOS_ICON '\uF305'$s # 
LINUX_DEBIAN_ICON '\uF306' #  LINUX_DEBIAN_ICON '\uF306' # 
LINUX_KALI_ICON '\uF327' # 
LINUX_RASPBIAN_ICON '\uF315' #  LINUX_RASPBIAN_ICON '\uF315' # 
LINUX_ELEMENTARY_ICON '\uF309'$s #  LINUX_ELEMENTARY_ICON '\uF309'$s # 
LINUX_FEDORA_ICON '\uF30a'$s #  LINUX_FEDORA_ICON '\uF30a'$s # 
@ -485,6 +484,7 @@ function _p9k_init_icons() {
LINUX_VOID_ICON '\UF32E'$s #  LINUX_VOID_ICON '\UF32E'$s # 
LINUX_ARTIX_ICON '\UF31F'$s #  LINUX_ARTIX_ICON '\UF31F'$s # 
LINUX_UBUNTU_ICON '\uF31b'$s #  LINUX_UBUNTU_ICON '\uF31b'$s # 
LINUX_KALI_ICON '\uF327'$s # 
LINUX_RHEL_ICON '\uF316'$s #  LINUX_RHEL_ICON '\uF316'$s # 
LINUX_AMZN_ICON '\uF270'$s #  LINUX_AMZN_ICON '\uF270'$s # 
LINUX_ENDEAVOUROS_ICON '\UF322'$s #  LINUX_ENDEAVOUROS_ICON '\UF322'$s # 
@ -604,7 +604,6 @@ function _p9k_init_icons() {
LINUX_CENTOS_ICON '\uF304'$s #  LINUX_CENTOS_ICON '\uF304'$s # 
LINUX_COREOS_ICON '\uF305'$s #  LINUX_COREOS_ICON '\uF305'$s # 
LINUX_DEBIAN_ICON '\uF306' #  LINUX_DEBIAN_ICON '\uF306' # 
LINUX_KALI_ICON '\uF327' # 
LINUX_RASPBIAN_ICON '\uF315' #  LINUX_RASPBIAN_ICON '\uF315' # 
LINUX_ELEMENTARY_ICON '\uF309'$s #  LINUX_ELEMENTARY_ICON '\uF309'$s # 
LINUX_FEDORA_ICON '\uF30a'$s #  LINUX_FEDORA_ICON '\uF30a'$s # 
@ -622,6 +621,7 @@ function _p9k_init_icons() {
LINUX_VOID_ICON '\uF17C' #  LINUX_VOID_ICON '\uF17C' # 
LINUX_ARTIX_ICON '\uF17C' #  LINUX_ARTIX_ICON '\uF17C' # 
LINUX_UBUNTU_ICON '\uF31b'$s #  LINUX_UBUNTU_ICON '\uF31b'$s # 
LINUX_KALI_ICON '\uF17C' # 
LINUX_RHEL_ICON '\uF316'$s #  LINUX_RHEL_ICON '\uF316'$s # 
LINUX_AMZN_ICON '\uF270'$s #  LINUX_AMZN_ICON '\uF270'$s # 
LINUX_ENDEAVOUROS_ICON '\uF17C' #  LINUX_ENDEAVOUROS_ICON '\uF17C' # 
@ -737,9 +737,9 @@ function _p9k_init_icons() {
LINUX_ICON 'linux' LINUX_ICON 'linux'
LINUX_ARCH_ICON 'arch' LINUX_ARCH_ICON 'arch'
LINUX_DEBIAN_ICON 'debian' LINUX_DEBIAN_ICON 'debian'
LINUX_KALI_ICON 'kali'
LINUX_RASPBIAN_ICON 'pi' LINUX_RASPBIAN_ICON 'pi'
LINUX_UBUNTU_ICON 'ubuntu' LINUX_UBUNTU_ICON 'ubuntu'
LINUX_KALI_ICON 'kali'
LINUX_CENTOS_ICON 'centos' LINUX_CENTOS_ICON 'centos'
LINUX_COREOS_ICON 'coreos' LINUX_COREOS_ICON 'coreos'
LINUX_ELEMENTARY_ICON 'elementary' LINUX_ELEMENTARY_ICON 'elementary'
@ -873,9 +873,9 @@ function _p9k_init_icons() {
LINUX_ICON 'Lx' LINUX_ICON 'Lx'
LINUX_ARCH_ICON 'Arc' LINUX_ARCH_ICON 'Arc'
LINUX_DEBIAN_ICON 'Deb' LINUX_DEBIAN_ICON 'Deb'
LINUX_KALI_ICON 'Kal'
LINUX_RASPBIAN_ICON 'RPi' LINUX_RASPBIAN_ICON 'RPi'
LINUX_UBUNTU_ICON 'Ubu' LINUX_UBUNTU_ICON 'Ubu'
LINUX_KALI_ICON 'Kal'
LINUX_CENTOS_ICON 'Cen' LINUX_CENTOS_ICON 'Cen'
LINUX_COREOS_ICON 'Cor' LINUX_COREOS_ICON 'Cor'
LINUX_ELEMENTARY_ICON 'Elm' LINUX_ELEMENTARY_ICON 'Elm'

View file

@ -1100,6 +1100,7 @@ function os_icon_name() {
*elementary*) echo LINUX_ELEMENTARY_ICON;; *elementary*) echo LINUX_ELEMENTARY_ICON;;
*fedora*) echo LINUX_FEDORA_ICON;; *fedora*) echo LINUX_FEDORA_ICON;;
*coreos*) echo LINUX_COREOS_ICON;; *coreos*) echo LINUX_COREOS_ICON;;
*kali*) echo LINUX_KALI_ICON;;
*gentoo*) echo LINUX_GENTOO_ICON;; *gentoo*) echo LINUX_GENTOO_ICON;;
*mageia*) echo LINUX_MAGEIA_ICON;; *mageia*) echo LINUX_MAGEIA_ICON;;
*centos*) echo LINUX_CENTOS_ICON;; *centos*) echo LINUX_CENTOS_ICON;;