mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-29 09:51:57 +00:00
Merge branch 'cybershoe-2575-raspberry-pi-os-logo'
This commit is contained in:
commit
b379cf6225
2 changed files with 15 additions and 2 deletions
|
@ -8625,8 +8625,14 @@ function _p9k_init_cacheable() {
|
|||
fi
|
||||
case $os_release_id in
|
||||
*arch*) _p9k_set_os Linux LINUX_ARCH_ICON;;
|
||||
*debian*) _p9k_set_os Linux LINUX_DEBIAN_ICON;;
|
||||
*raspbian*) _p9k_set_os Linux LINUX_RASPBIAN_ICON;;
|
||||
*debian*)
|
||||
if [[ -f /etc/apt/sources.list.d/raspi.list ]]; then
|
||||
_p9k_set_os Linux LINUX_RASPBIAN_ICON
|
||||
else
|
||||
_p9k_set_os Linux LINUX_DEBIAN_ICON
|
||||
fi
|
||||
;;
|
||||
*ubuntu*) _p9k_set_os Linux LINUX_UBUNTU_ICON;;
|
||||
*elementary*) _p9k_set_os Linux LINUX_ELEMENTARY_ICON;;
|
||||
*fedora*) _p9k_set_os Linux LINUX_FEDORA_ICON;;
|
||||
|
|
|
@ -1132,7 +1132,14 @@ function os_icon_name() {
|
|||
fi
|
||||
case $os_release_id in
|
||||
*arch*) echo LINUX_ARCH_ICON;;
|
||||
*debian*) echo LINUX_DEBIAN_ICON;;
|
||||
*raspbian*) echo LINUX_RASPBIAN_ICON;;
|
||||
*debian*)
|
||||
if [[ -f /etc/apt/sources.list.d/raspi.list ]]; then
|
||||
echo LINUX_RASPBIAN_ICON
|
||||
else
|
||||
echo LINUX_DEBIAN_ICON
|
||||
fi
|
||||
;;
|
||||
*raspbian*) echo LINUX_RASPBIAN_ICON;;
|
||||
*ubuntu*) echo LINUX_UBUNTU_ICON;;
|
||||
*elementary*) echo LINUX_ELEMENTARY_ICON;;
|
||||
|
|
Loading…
Reference in a new issue