[PR] dylanaraps/neofetch#1973 from alexcoder04 - Add Q4OS logo and detection, closes #1968
Upstream PR: https://github.com/dylanaraps/neofetch/pull/1973 Thanks to @alexcoder04 Co-authored-by: alexcoder04 <ailyushonak@gmail.com>
This commit is contained in:
commit
759373bb25
1 changed files with 31 additions and 0 deletions
31
neofetch
31
neofetch
|
@ -993,6 +993,12 @@ get_distro() {
|
|||
*) distro="Siduction ($(lsb_release -sic))"
|
||||
esac
|
||||
|
||||
elif [[ -f /etc/q4os_version ]]; then
|
||||
case $distro_shorthand in
|
||||
on|tiny) distro="Q4OS" ;;
|
||||
*) distro="Q4OS $(cat /etc/q4os_version)"
|
||||
esac
|
||||
|
||||
elif [[ -f /etc/mcst_version ]]; then
|
||||
case $distro_shorthand in
|
||||
on|tiny) distro="OS Elbrus" ;;
|
||||
|
@ -10283,6 +10289,31 @@ dmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmd
|
|||
EOF
|
||||
;;
|
||||
|
||||
"Q4OS"*)
|
||||
set_colors 4 1
|
||||
read -rd '' ascii_data <<'EOF'
|
||||
${c1} .:***** :=====.
|
||||
${c1}.:******** :========.
|
||||
${c1} .*********** :===========.
|
||||
${c1}.:************ :============-
|
||||
${c1} .************** :==============
|
||||
${c1} :*************** :===============
|
||||
${c1}:**************. :===============
|
||||
${c1}.*************: .=============.
|
||||
${c1}*************. .============:
|
||||
|
||||
${c1}:############. ${c2}:==:
|
||||
${c1}:##############. ${c2}:======:
|
||||
${c1}:################ ${c2}.==========:
|
||||
${c1}:############### ${c2}.===========:
|
||||
${c1}:############## ${c2}.===========:
|
||||
${c1}:############# ${c2}.=========:
|
||||
${c1}:########### ${c2}.=====:
|
||||
${c1}.######### ${c2}.=:
|
||||
${c1}.#####
|
||||
EOF
|
||||
;;
|
||||
|
||||
"Qubes"*)
|
||||
set_colors 4 5 7 6
|
||||
read -rd '' ascii_data <<'EOF'
|
||||
|
|
Loading…
Reference in a new issue