Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Add Q4OS logo and detection, closes #1968 #1973

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -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" ;;
Expand Down Expand Up @@ -9833,6 +9839,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'
Expand Down