diff options
author | Tim Otlik <t.otlik@vivaldi.net> | 2018-02-16 14:56:47 +0300 |
---|---|---|
committer | Tim Otlik <t.otlik@vivaldi.net> | 2018-02-16 14:56:47 +0300 |
commit | 845e74c5c3daff3f3d5a5f2a10edde279627c5b5 (patch) | |
tree | 425a0599abbfffabdb6836f80690df226c01b138 /functions/utilities.zsh | |
parent | fd3d2343547b07d74cb102dd843f8a54d9e0b79f (diff) |
added LINUX_*_ICON for several OS
Diffstat (limited to 'functions/utilities.zsh')
-rw-r--r-- | functions/utilities.zsh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/functions/utilities.zsh b/functions/utilities.zsh index b4bfb838..5f41f73e 100644 --- a/functions/utilities.zsh +++ b/functions/utilities.zsh @@ -105,6 +105,22 @@ case $(uname) in OS='Linux' OS_ICON=$(print_icon 'LINUX_ICON') + # Check if the OS is debian + if [ `lsb_release -si`="Debian" ]; then + OS='Debian' + OS_ICON=$(print_icon 'LINUX_DEBIAN_ICON') + fi + # Check if the OS is ubuntu + if [ `lsb_release -si`="Ubuntu" ]; then + OS='Ubuntu' + OS_ICON=$(print_icon 'LINUX_Ubuntu_ICON') + fi + # Check if the OS is mint + if [ `lsb_release -si`="Mint" ]; then + OS='Mint' + OS_ICON=$(print_icon 'LINUX_MINT_ICON') + fi + # Check if we're running on Android case $(uname -o 2>/dev/null) in Android) |