aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordylan <dylan.araps@gmail.com>2020-03-07 17:50:55 +0200
committerGitHub <noreply@github.com>2020-03-07 17:50:55 +0200
commit2bf774e70f0daf235b96c0a48d236ab89666721d (patch)
tree245f2232b8304c8de7490c0815ed337a06386788
parentf15a8d25dd6a6d7715070d1a015477e660e07881 (diff)
parent25324687b537f7ca84d690b051b62cb2c0d62f62 (diff)
downloadpfetch-2bf774e70f0daf235b96c0a48d236ab89666721d.tar.gz
Merge pull request #44 from paradigm/master
pfetch: Add support for Bedrock
-rwxr-xr-xpfetch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pfetch b/pfetch
index 0634ba4..568aa58 100755
--- a/pfetch
+++ b/pfetch
@@ -113,6 +113,9 @@ get_os() {
# don't follow any os-release/lsb standards whatsoever.
command -v crux && distro=$(crux)
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
# WSL1 (Windows subsystem for Linux [version 1]) and
@@ -889,6 +892,15 @@ get_ascii() {
EOF
;;
+ [Bb]edrock*)
+ read_ascii 4 <<-EOF
+ ${c7}__
+ ${c7}\\ \\___
+ ${c7} \\ _ \\
+ ${c7} \\___/
+ EOF
+ ;;
+
[Cc]ent[Oo][Ss]*)
read_ascii 5 <<-EOF
${c2} ____${c3}^${c5}____