Skip to content

Commit

Permalink
Merge pull request #50 from mingaldrichgan/raspbian
Browse files Browse the repository at this point in the history
Add LINUX_RASPBIAN_ICON (Raspberry Pi icon) as an OS_ICON candidate
  • Loading branch information
romkatv authored Apr 5, 2019
2 parents 48f1e35 + 91b2526 commit 500157b
Show file tree
Hide file tree
Showing 2 changed files with 6 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 @@ -55,6 +55,7 @@ function _p9k_init_icons() {
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 @@ -156,6 +157,7 @@ function _p9k_init_icons() {
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 @@ -259,6 +261,7 @@ function _p9k_init_icons() {
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 @@ -357,6 +360,7 @@ function _p9k_init_icons() {
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 @@ -453,6 +457,7 @@ function _p9k_init_icons() {
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
1 change: 1 addition & 0 deletions powerlevel9k.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -2283,6 +2283,7 @@ _p9k_init() {
case "$os_release_id" in
*arch*) _$0_set_os Linux LINUX_ARCH_ICON;;
*debian*) _$0_set_os Linux LINUX_DEBIAN_ICON;;
*raspbian*) _$0_set_os Linux LINUX_RASPBIAN_ICON;;
*ubuntu*) _$0_set_os Linux LINUX_UBUNTU_ICON;;
*elementary*) _$0_set_os Linux LINUX_ELEMENTARY_ICON;;
*fedora*) _$0_set_os Linux LINUX_FEDORA_ICON;;
Expand Down

0 comments on commit 500157b

Please sign in to comment.