Merge branch 'hykilpikonna:master' into master

This commit is contained in:
OldWorldOrdr 2023-08-14 19:55:21 -04:00 committed by GitHub
commit 73b39252df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 97 additions and 18 deletions

View file

@ -424,7 +424,7 @@ def get_fore_back(distro: str | None = None) -> tuple[int, int] | None:
distro = get_distro_name().lower() distro = get_distro_name().lower()
distro = distro.lower().replace(' ', '-') distro = distro.lower().replace(' ', '-')
for k, v in fore_back.items(): for k, v in fore_back.items():
if distro == k.lower(): if distro.startswith(k.lower()):
return v return v
return None return None

113
neofetch
View file

@ -38,7 +38,7 @@ shopt -s eval_unsafe_arith &>/dev/null
sys_locale=${LANG:-C} sys_locale=${LANG:-C}
XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-${HOME}/.config} XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-${HOME}/.config}
PATH=$PATH:/usr/xpg4/bin:/usr/sbin:/sbin:/usr/etc:/usr/libexec PATH=$PATH:/usr/xpg4/bin:/usr/sbin:/sbin:/usr/etc:/usr/libexec
reset='\e[39;22m' reset='\e[0m'
shopt -s nocasematch extglob shopt -s nocasematch extglob
# Speed up script by not using unicode. # Speed up script by not using unicode.
@ -2032,7 +2032,7 @@ get_packages() {
has tekel && dir "/data/app/$USER/* /data/app/system/*" has tekel && dir "/data/app/$USER/* /data/app/system/*"
has crew && dir "${CREW_PREFIX:-/usr/local}/etc/crew/meta/*.filelist" has crew && dir "${CREW_PREFIX:-/usr/local}/etc/crew/meta/*.filelist"
has pkgtool && dir "/var/log/packages/*" has pkgtool && dir "/var/log/packages/*"
has scratch && dir "/var/lib/scratchpkg/index/*/.pkginfo" has scratch && dir "/var/lib/scratchpkg/db/*"
has kagami && dir "/var/lib/kagami/pkgs/*" has kagami && dir "/var/lib/kagami/pkgs/*"
has cave && dir "/var/db/paludis/repositories/cross-installed/*/data/*/ \ has cave && dir "/var/db/paludis/repositories/cross-installed/*/data/*/ \
/var/db/paludis/repositories/installed/data/*/" /var/db/paludis/repositories/installed/data/*/"
@ -11813,6 +11813,34 @@ ${c1} :+sMs.
EOF EOF
;; ;;
"Panwah"*)
set_colors 7 1 0
read -rd '' ascii_data <<'EOF'
${c1}
HHH
HAAAH HHH
HAAAAH HAAAH
HAAAAAAH HAAAAH
HAAAAAAH HAAAAAH
HAAAAAAAAH${c2}WWWWWWWWWWWWWWWW ${c1}HAAAAAH$
HAAAAAAAAH${c2}WWWWWWWWWWWWWWWWWWWW${c1} HAAAAAH
HAA${c2}WWWWWWWWWWWWWWWWWWWWWWWWWWWWW${c1}AAAAAH${c2}
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW${c1}WAH${c2}
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
WWWWWWW${c1}AAA${c2}WWWW WWWWWWWWWWWWWWWWWWWWWWWWWWW
WWWW${c1}AAA${c2}WWWWW WWWWWWW WWWWWWWWWWWWWWW
WW${c1}AAA${c2}WWWWWWWWWWWWWWWWW WWWWW${c1}AAA${c2}WWWWWWWW
${c1}AAA${c2}WWWWW${c1}OOOOOOOOOOO${C2}WWWWWWWWWWW${c1}AAA${c2}WWWWWW
${c1}OOOO${c3}GGGGGGG${c1}OOOO${c2}WWWWWWWWWW${c1}AAA${c2}WWWW
${c1}OOO${c3}GGGGGGG${c1}OOO${c2}WWWWWWWWWWWW${c1}AAA${c2}W
${c1}OOOOOOOOO
EOF
;;
"parabola_small"*) "parabola_small"*)
set_colors 5 7 set_colors 5 7
read -rd '' ascii_data <<'EOF' read -rd '' ascii_data <<'EOF'
@ -13178,6 +13206,34 @@ _Qh;.nm .QWc. {QL ]QQp;..vmQ/
-?T??" -?T??"
EOF EOF
;; ;;
"Slackel"*)
set_colors 3
read -rd '' ascii_data <<'EOF'
${c1} _aawmmmmmwwaaaaas,,,_.
.ammmmm###mmmmmmm###BQmm##mws
.am###mmBmBmBmBmBmBmmmmm#mmmm#2
<q###mmBmBmBmBmBmBmBmBmBmBmmBmZ`
um#mmmBmBm##U##mmBmBmBmWmmBmWm#(
.wm#mmBBmm#Y~ ~XmBmBmWmmmmmBm#e
.dm#mmWmm#Z' ]#mBmBmmBZ!""""`
.dm#mmBmm#2` ]mmmBmBm#2
jm#mmWmm#2` dmmBmBmB#(
)m##mBmmWZ` )##mBmBmmZ
:dmmmBmBm#' .d#mBmBmWZ(
j#mmBmBmme jmmmBmBm#2
_m#mBmWmmm' )mmmBmBmmZ`
]##mBmmm#2 <m#mBmBmB#^
dmmmBmWm#C <m#mBmBmB#(
ZmmBmBmmmh. _jm#mmBmBm#(
XBmBmBmBmm6s_aum##mmBmBm&^
3$mBmBmBmmm#mmmmmmBmBm#2'
+ZmBmBmWmBmBmWmmBmBm##!
)ZmBmBmmmBmBmmBmB##!`
-4U#mBmWmBmBm##2"
-!!XU##US*?"-
EOF
;;
"slackware_small"*) "slackware_small"*)
set_colors 4 7 1 set_colors 4 7 1
@ -14183,24 +14239,47 @@ ${c3} :${c4}:::::::::::::: ${c5}.
EOF EOF
;; ;;
"venom_small"*)
set_colors 8 4
read -rd '' ascii_data <<'EOF'
${c1} ++**
*===**====+*
*====* +===+
*==*+===* *===*
*===* *===+ *===*
*===* +===+ *===*
*===* +===* *===*
*===* *===+*==*
+===+ *===+=*
*+====**===*
**++
EOF
;;
"Venom"*) "Venom"*)
set_colors 8 4 set_colors 8 4
read -rd '' ascii_data <<'EOF' read -rd '' ascii_data <<'EOF'
${c1} ::::::: ::::::: ${c1}
mMMMMMMm dMMMMMMm `-`
/MMMMMMMo +MMMMMMM/ -yys+/-`
yMMMMMMN mMMMMMMy `oyyyyy: /osyyyyso+:.
NMMMMMMs oMMMMMMm /yyyyy+`+yyyyyyyyyys/.
+MMMMMMN: NMMMMMM+ .-yyyyys.:+//+oyyyyyyyo.
hMMMMMMy sMMMMMMy `oy/`oyyyyy/ ./syyyyy:
:NMMMMMM::NMMMMMN: syyys`:yyyyyo` :yyyyy:
oMMMMMMyyMMMMMM+ /yyyyo .syyyyy- .yyyyy.
dMMMMMMMMMMMMh yyyyy. +yyyyy/ /yyyy/
/MMMMMMMMMMMN: `yyyyy :yyyyys` -yyyyo
sMMMMMMMMMMo yyyyy. `syyyyy- /yyyy/
mMMMMMMMMd /yyyyo /yyyyy+ .yyyyy.
+MMMMMMMN: syyyys. -yyyyys.:yyyy:
:::::: `oyyyyyo-` `oyyyyy:.sy:
:syyyyyyso+/++`/yyyyyo``
-oyyyyyyyyyyy-.syyyys.
-/+osyyyyso.`+yyyyy/
.-/+syo`
`.
EOF EOF
;; ;;