Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
Add LINUX_RASPBIAN_ICON (Raspberry Pi icon) as an OS_ICON candidate
Browse files Browse the repository at this point in the history
  • Loading branch information
Ming Aldrich-Gan committed Apr 5, 2019
1 parent 3dafd79 commit ea348b1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions functions/icons.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ case $POWERLEVEL9K_MODE in
LINUX_ICON $'\uE271' #
LINUX_ARCH_ICON $'\uE271' #
LINUX_DEBIAN_ICON $'\uE271' #
LINUX_RASPBIAN_ICON $'\uE271' #
LINUX_UBUNTU_ICON $'\uE271' #
LINUX_CENTOS_ICON $'\uE271' #
LINUX_COREOS_ICON $'\uE271' #
Expand Down Expand Up @@ -151,6 +152,7 @@ case $POWERLEVEL9K_MODE in
LINUX_ICON $'\uF17C' #
LINUX_ARCH_ICON $'\uF17C' #
LINUX_DEBIAN_ICON $'\uF17C' #
LINUX_RASPBIAN_ICON $'\uF17C' #
LINUX_UBUNTU_ICON $'\uF17C' #
LINUX_CENTOS_ICON $'\uF17C' #
LINUX_COREOS_ICON $'\uF17C' #
Expand Down Expand Up @@ -253,6 +255,7 @@ case $POWERLEVEL9K_MODE in
LINUX_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX #
LINUX_ARCH_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX #
LINUX_DEBIAN_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX #
LINUX_RASPBIAN_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX #
LINUX_UBUNTU_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX #
LINUX_CENTOS_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX #
LINUX_COREOS_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX #
Expand Down Expand Up @@ -350,6 +353,7 @@ case $POWERLEVEL9K_MODE in
LINUX_CENTOS_ICON $'\uF304' #
LINUX_COREOS_ICON $'\uF305' #
LINUX_DEBIAN_ICON $'\uF306' #
LINUX_RASPBIAN_ICON $'\uF315' #
LINUX_ELEMENTARY_ICON $'\uF309' #
LINUX_FEDORA_ICON $'\uF30a' #
LINUX_GENTOO_ICON $'\uF30d' #
Expand Down Expand Up @@ -445,6 +449,7 @@ case $POWERLEVEL9K_MODE in
LINUX_ICON 'Lx'
LINUX_ARCH_ICON 'Arc'
LINUX_DEBIAN_ICON 'Deb'
LINUX_RASPBIAN_ICON 'RPi'
LINUX_UBUNTU_ICON 'Ubu'
LINUX_CENTOS_ICON 'Cen'
LINUX_COREOS_ICON 'Cor'
Expand Down
3 changes: 3 additions & 0 deletions functions/utilities.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ case $(uname) in
*debian*)
OS_ICON=$(print_icon 'LINUX_DEBIAN_ICON')
;;
*raspbian*)
OS_ICON=$(print_icon 'LINUX_RASPBIAN_ICON')
;;
*ubuntu*)
OS_ICON=$(print_icon 'LINUX_UBUNTU_ICON')
;;
Expand Down

0 comments on commit ea348b1

Please sign in to comment.