1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-22 12:20:07 +00:00

add kali icon

This commit is contained in:
Richard Ziegler 2021-05-13 02:31:21 -04:00
parent 2ba4756831
commit 76a85e0522
2 changed files with 7 additions and 1 deletions

View file

@ -49,7 +49,7 @@ function _p9k_init_icons() {
ANDROID_ICON '\uE270'$s # 
LINUX_ICON '\uE271'$s # 
LINUX_ARCH_ICON '\uE271'$s # 
LINUX_KALI_ICON '\u327F'$s # ㉿
LINUX_KALI_ICON '\uE271'$s # 
LINUX_DEBIAN_ICON '\uE271'$s # 
LINUX_RASPBIAN_ICON '\uE271'$s # 
LINUX_UBUNTU_ICON '\uE271'$s # 
@ -186,6 +186,7 @@ function _p9k_init_icons() {
ANDROID_ICON '\uE17B'$s #  (doesn't always work)
LINUX_ICON '\uF17C'$s # 
LINUX_ARCH_ICON '\uF17C'$s # 
LINUX_KALI_ICON '\u327F'$s # ㉿
LINUX_DEBIAN_ICON '\uF17C'$s # 
LINUX_RASPBIAN_ICON '\uF17C'$s # 
LINUX_UBUNTU_ICON '\uF17C'$s # 
@ -323,6 +324,7 @@ function _p9k_init_icons() {
FREEBSD_ICON '\U1F608'$q # 😈
LINUX_ICON "${CODEPOINT_OF_AWESOME_LINUX:+\\u$CODEPOINT_OF_AWESOME_LINUX$s}"
LINUX_ARCH_ICON "${CODEPOINT_OF_AWESOME_LINUX:+\\u$CODEPOINT_OF_AWESOME_LINUX$s}"
LINUX_KALI_ICON "${CODEPOINT_OF_AWESOME_LINUX:+\\u$CODEPOINT_OF_AWESOME_LINUX$s}"
LINUX_DEBIAN_ICON "${CODEPOINT_OF_AWESOME_LINUX:+\\u$CODEPOINT_OF_AWESOME_LINUX$s}"
LINUX_RASPBIAN_ICON "${CODEPOINT_OF_AWESOME_LINUX:+\\u$CODEPOINT_OF_AWESOME_LINUX$s}"
LINUX_UBUNTU_ICON "${CODEPOINT_OF_AWESOME_LINUX:+\\u$CODEPOINT_OF_AWESOME_LINUX$s}"
@ -453,6 +455,7 @@ function _p9k_init_icons() {
FREEBSD_ICON '\UF30C ' # 
ANDROID_ICON '\uF17B' # 
LINUX_ARCH_ICON '\uF303' # 
LINUX_KALI_ICON '\u327F'$s # ㉿
LINUX_CENTOS_ICON '\uF304'$s # 
LINUX_COREOS_ICON '\uF305'$s # 
LINUX_DEBIAN_ICON '\uF306' # 
@ -584,6 +587,7 @@ function _p9k_init_icons() {
ANDROID_ICON 'android'
LINUX_ICON 'linux'
LINUX_ARCH_ICON 'arch'
LINUX_KALI_ICON 'kali'
LINUX_DEBIAN_ICON 'debian'
LINUX_RASPBIAN_ICON 'pi'
LINUX_UBUNTU_ICON 'ubuntu'
@ -716,6 +720,7 @@ function _p9k_init_icons() {
ANDROID_ICON 'And'
LINUX_ICON 'Lx'
LINUX_ARCH_ICON 'Arc'
LINUX_KALI_ICON 'Kli'
LINUX_DEBIAN_ICON 'Deb'
LINUX_RASPBIAN_ICON 'RPi'
LINUX_UBUNTU_ICON 'Ubu'

View file

@ -8211,6 +8211,7 @@ function _p9k_init_cacheable() {
fi
case $os_release_id in
*arch*) _p9k_set_os Linux LINUX_ARCH_ICON;;
*kali*) _p9k_set_os Linux LINUX_KALI_ICON;;
*debian*) _p9k_set_os Linux LINUX_DEBIAN_ICON;;
*raspbian*) _p9k_set_os Linux LINUX_RASPBIAN_ICON;;
*ubuntu*) _p9k_set_os Linux LINUX_UBUNTU_ICON;;