1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-18 18:50:08 +00:00

Merge pull request #50 from mingaldrichgan/raspbian

Add LINUX_RASPBIAN_ICON (Raspberry Pi icon) as an OS_ICON candidate
This commit is contained in:
Roman Perepelitsa 2019-04-05 18:04:42 +02:00 committed by GitHub
commit 500157bb69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -55,6 +55,7 @@ function _p9k_init_icons() {
LINUX_ICON $'\uE271' #  LINUX_ICON $'\uE271' # 
LINUX_ARCH_ICON $'\uE271' #  LINUX_ARCH_ICON $'\uE271' # 
LINUX_DEBIAN_ICON $'\uE271' #  LINUX_DEBIAN_ICON $'\uE271' # 
LINUX_RASPBIAN_ICON $'\uE271' # 
LINUX_UBUNTU_ICON $'\uE271' #  LINUX_UBUNTU_ICON $'\uE271' # 
LINUX_CENTOS_ICON $'\uE271' #  LINUX_CENTOS_ICON $'\uE271' # 
LINUX_COREOS_ICON $'\uE271' #  LINUX_COREOS_ICON $'\uE271' # 
@ -156,6 +157,7 @@ function _p9k_init_icons() {
LINUX_ICON $'\uF17C' #  LINUX_ICON $'\uF17C' # 
LINUX_ARCH_ICON $'\uF17C' #  LINUX_ARCH_ICON $'\uF17C' # 
LINUX_DEBIAN_ICON $'\uF17C' #  LINUX_DEBIAN_ICON $'\uF17C' # 
LINUX_RASPBIAN_ICON $'\uF17C' # 
LINUX_UBUNTU_ICON $'\uF17C' #  LINUX_UBUNTU_ICON $'\uF17C' # 
LINUX_CENTOS_ICON $'\uF17C' #  LINUX_CENTOS_ICON $'\uF17C' # 
LINUX_COREOS_ICON $'\uF17C' #  LINUX_COREOS_ICON $'\uF17C' # 
@ -259,6 +261,7 @@ function _p9k_init_icons() {
LINUX_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX #  LINUX_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX # 
LINUX_ARCH_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX #  LINUX_ARCH_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX # 
LINUX_DEBIAN_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_UBUNTU_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX # 
LINUX_CENTOS_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX #  LINUX_CENTOS_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX # 
LINUX_COREOS_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX #  LINUX_COREOS_ICON '\u'$CODEPOINT_OF_AWESOME_LINUX # 
@ -357,6 +360,7 @@ function _p9k_init_icons() {
LINUX_CENTOS_ICON $'\uF304' #  LINUX_CENTOS_ICON $'\uF304' # 
LINUX_COREOS_ICON $'\uF305' #  LINUX_COREOS_ICON $'\uF305' # 
LINUX_DEBIAN_ICON $'\uF306' #  LINUX_DEBIAN_ICON $'\uF306' # 
LINUX_RASPBIAN_ICON $'\uF315' # 
LINUX_ELEMENTARY_ICON $'\uF309' #  LINUX_ELEMENTARY_ICON $'\uF309' # 
LINUX_FEDORA_ICON $'\uF30a' #  LINUX_FEDORA_ICON $'\uF30a' # 
LINUX_GENTOO_ICON $'\uF30d' #  LINUX_GENTOO_ICON $'\uF30d' # 
@ -453,6 +457,7 @@ 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_RASPBIAN_ICON 'RPi'
LINUX_UBUNTU_ICON 'Ubu' LINUX_UBUNTU_ICON 'Ubu'
LINUX_CENTOS_ICON 'Cen' LINUX_CENTOS_ICON 'Cen'
LINUX_COREOS_ICON 'Cor' LINUX_COREOS_ICON 'Cor'

View file

@ -2283,6 +2283,7 @@ _p9k_init() {
case "$os_release_id" in case "$os_release_id" in
*arch*) _$0_set_os Linux LINUX_ARCH_ICON;; *arch*) _$0_set_os Linux LINUX_ARCH_ICON;;
*debian*) _$0_set_os Linux LINUX_DEBIAN_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;; *ubuntu*) _$0_set_os Linux LINUX_UBUNTU_ICON;;
*elementary*) _$0_set_os Linux LINUX_ELEMENTARY_ICON;; *elementary*) _$0_set_os Linux LINUX_ELEMENTARY_ICON;;
*fedora*) _$0_set_os Linux LINUX_FEDORA_ICON;; *fedora*) _$0_set_os Linux LINUX_FEDORA_ICON;;