wok view screenfetch/stuff/patches/screenfetch-dev-3.9.1 @ rev 25296

updated screenfetch (3.5.0 -> 3.9.1)
author Hans-G?nter Theisgen
date Tue Jul 19 17:51:41 2022 +0100 (23 months ago)
parents
children
line source
1 --- screenfetch-dev.orig
2 +++ screenfetch-dev
3 @@ -364,8 +364,9 @@
4 Fux, Gentoo, gNewSense, Guix System, Hyperbola GNU/Linux-libre, januslinux, Jiyuu Linux, Kali Linux, KaOS, KDE neon, Kogaion, Korora, \
5 LinuxDeepin, Linux Mint, LMDE, Logos, Mageia, Mandriva/Mandrake, Manjaro, Mer, Netrunner, NixOS, OBRevenge, openSUSE, \
6 OS Elbrus, Oracle Linux, Parabola GNU/Linux-libre, Pardus, Parrot Security, PCLinuxOS, PeppermintOS, Proxmox VE, PureOS, Qubes OS, \
7 -Raspbian, Red Hat Enterprise Linux, ROSA, Sabayon, SailfishOS, Scientific Linux, Siduction, Slackware, Solus, Source Mage GNU/Linux, \
8 -SparkyLinux, SteamOS, SUSE Linux Enterprise, SwagArch, TinyCore, Trisquel, Ubuntu, Viperr, Void and Zorin OS and EndeavourOS"
9 +Raspbian, Red Hat Enterprise Linux, ROSA, Sabayon, SailfishOS, Scientific Linux, Siduction, Slackware, SliTaz, Solus, \
10 +Source Mage GNU/Linux, SparkyLinux, SteamOS, SUSE Linux Enterprise, SwagArch, TinyCore, Trisquel, Ubuntu, Viperr, Void and Zorin OS \
11 +and EndeavourOS"
13 supported_other="Dragonfly/Free/Open/Net BSD, Haiku, Mac OS X, Windows+Cygwin and Windows+MSYS2."
15 @@ -792,6 +793,9 @@
16 distro_release="$(awk -F'=' '/^VERSION=/ {print $2}' /etc/os-release)"
17 fi
18 ;;
19 + "SliTaz")
20 + distro="SliTaz"
21 + ;;
22 "Sparky"|"SparkyLinux")
23 distro="SparkyLinux"
24 ;;
25 @@ -1042,6 +1046,7 @@
26 distro="Dragora"
27 distro_more="$(cut -d, -f1 /etc/dragora-version)"
28 elif [ -f /etc/slackware-version ]; then distro="Slackware"
29 + elif [ -f /etc/slitaz-release ]; then distro="SliTaz"
30 elif [ -f /usr/share/doc/tc/release.txt ]; then
31 distro="TinyCore"
32 distro_more="$(cat /usr/share/doc/tc/release.txt)"
33 @@ -1233,6 +1238,7 @@
34 scientific*) distro="Scientific Linux" ;;
35 siduction) distro="Siduction" ;;
36 slackware) distro="Slackware" ;;
37 + slitaz) distro="SliTaz" ;;
38 smgl|source*mage|source*mage*gnu*linux) distro="Source Mage GNU/Linux" ;;
39 solus) distro="Solus" ;;
40 sparky|sparky*linux) distro="SparkyLinux" ;;
41 @@ -1352,6 +1358,8 @@
42 pkgs=$(ls -1 /var/db/pkg | wc -l) ;;
43 'Frugalware')
44 pkgs=$(pacman-g2 -Q | wc -l) ;;
45 + 'SliTaz')
46 + pkgs=$(tazpkg list | wc -l) ;;
47 'Debian'|'Ubuntu'|'Mint'|'Fuduntu'|'KDE neon'|'Devuan'|'OS Elbrus'|'Raspbian'|'LMDE'|'CrunchBang'|'Peppermint'| \
48 'LinuxDeepin'|'Deepin'|'Kali Linux'|'Trisquel'|'elementary OS'|'gNewSense'|'BunsenLabs'|'SteamOS'|'Parrot Security'| \
49 'GrombyangOS'|'DesaOS'|'Zorin OS'|'Proxmox VE'|'PureOS')
50 @@ -5059,6 +5067,33 @@
51 "${c2} ............... %s")
52 ;;
54 + "#SliTaz")
55 + if [[ "$no_color" != "1" ]]; then
56 + c1=$(getColor 'light grey') # Light Grey
57 + fi
58 + if [ -n "${my_lcolor}" ]; then c1="${my_lcolor}"; fi
59 + startline="0"
60 + fulloutput=(
61 +"${c1} # # %s"
62 +"${c1} # ## # %s"
63 +"${c1} ## ## ### ## %s"
64 +"${c1} ## ### ### ## %s"
65 +"${c1} ## ### ## ## %s"
66 +"${c1} ### #### ##### #### ###%s"
67 +"${c1} #### ##### ####### ##### ####%s"
68 +"${c1} ############################ %s"
69 +"${c1} ###################### %s"
70 +"${c1} ################################# %s"
71 +"${c1} ## ################ #### ## %s"
72 +"${c1} # ### ############ ### ## %s"
73 +"${c1} # ## ########### ### # %s"
74 +"${c1} # # ########### # %s"
75 +"${c1} ######## %s"
76 +" %s"
77 +" %s"
78 +" %s")
79 + ;;
80 +
81 "KaOS")
82 if [[ "$no_color" != "1" ]]; then
83 c1=$(getColor 'light blue')
84 @@ -5850,7 +5885,7 @@
85 if [[ "$no_color" != "1" ]]; then
86 c1=$(getColor 'white') # White
87 c2=$(getColor 'dark grey') # Light Gray
88 - c3=$(getColor 'yellow') # Light Yellow
89 + c3=$(getColor 'light red') # Light Red
90 fi
91 if [ -n "${my_lcolor}" ]; then c1="${my_lcolor}"; c2="${my_lcolor}"; c3="${my_lcolor}"; fi
92 startline="0"
93 @@ -6081,7 +6116,7 @@
94 ;;
95 "Ubuntu"|"FreeBSD"|"FreeBSD - Old"|"Debian"|"Raspbian"|"BSD"|"Red Hat Enterprise Linux"|"Oracle Linux"| \
96 "Peppermint"|"Cygwin"|"Msys"|"Fuduntu"|"Scientific Linux"|"DragonFlyBSD"|"BackTrack Linux"|"Red Star OS"| \
97 - "SparkyLinux"|"OBRevenge"|"Source Mage GNU/Linux")
98 + "SliTaz"|"SparkyLinux"|"OBRevenge"|"Source Mage GNU/Linux")
99 labelcolor=$(getColor 'light red')
100 ;;
101 "ROSA"|"januslinux")