Merge pull request #44 from paradigm/master
pfetch: Add support for Bedrock
This commit is contained in:
commit
2bf774e70f
12
pfetch
12
pfetch
|
@ -113,6 +113,9 @@ get_os() {
|
||||||
# don't follow any os-release/lsb standards whatsoever.
|
# don't follow any os-release/lsb standards whatsoever.
|
||||||
command -v crux && distro=$(crux)
|
command -v crux && distro=$(crux)
|
||||||
command -v guix && distro='Guix System'
|
command -v guix && distro='Guix System'
|
||||||
|
case $PATH in
|
||||||
|
*/bedrock/cross/*) distro='Bedrock Linux'
|
||||||
|
esac
|
||||||
|
|
||||||
# Check to see if Linux is running in Windows 10 under
|
# Check to see if Linux is running in Windows 10 under
|
||||||
# WSL1 (Windows subsystem for Linux [version 1]) and
|
# WSL1 (Windows subsystem for Linux [version 1]) and
|
||||||
|
@ -889,6 +892,15 @@ get_ascii() {
|
||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
[Bb]edrock*)
|
||||||
|
read_ascii 4 <<-EOF
|
||||||
|
${c7}__
|
||||||
|
${c7}\\ \\___
|
||||||
|
${c7} \\ _ \\
|
||||||
|
${c7} \\___/
|
||||||
|
EOF
|
||||||
|
;;
|
||||||
|
|
||||||
[Cc]ent[Oo][Ss]*)
|
[Cc]ent[Oo][Ss]*)
|
||||||
read_ascii 5 <<-EOF
|
read_ascii 5 <<-EOF
|
||||||
${c2} ____${c3}^${c5}____
|
${c2} ____${c3}^${c5}____
|
||||||
|
|
Loading…
Reference in New Issue
Block a user