wok rev 25296

updated screenfetch (3.5.0 -> 3.9.1)
author Hans-G?nter Theisgen
date Tue Jul 19 17:51:41 2022 +0100 (21 months ago)
parents 6e4600a4fb23
children f3adabaf01f2
files screenfetch/description.txt screenfetch/stuff/patches/screenfetch-dev-3.9.1
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/screenfetch/description.txt	Tue Jul 19 17:51:41 2022 +0100
     1.3 @@ -0,0 +1,11 @@
     1.4 +ScreenFetch is a "Bash Screenshot Information Tool".
     1.5 +This handy Bash script can be used to generate one of
     1.6 +those nifty terminal theme information + ASCII distribution
     1.7 +logos you see in everyone's screenshots nowadays.
     1.8 +It will auto-detect your distribution and display an ASCII
     1.9 +version of that distribution's logo and some valuable
    1.10 +information to the right.
    1.11 +There are options to specify no ASCII art, colors, taking
    1.12 +a screenshot upon displaying info, and even customizing the
    1.13 +screenshot command!
    1.14 +This script is very easy to add to and can easily be extended.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/screenfetch/stuff/patches/screenfetch-dev-3.9.1	Tue Jul 19 17:51:41 2022 +0100
     2.3 @@ -0,0 +1,101 @@
     2.4 +--- screenfetch-dev.orig
     2.5 ++++ screenfetch-dev
     2.6 +@@ -364,8 +364,9 @@
     2.7 + Fux, Gentoo, gNewSense, Guix System, Hyperbola GNU/Linux-libre, januslinux, Jiyuu Linux, Kali Linux, KaOS, KDE neon, Kogaion, Korora, \
     2.8 + LinuxDeepin, Linux Mint, LMDE, Logos, Mageia, Mandriva/Mandrake, Manjaro, Mer, Netrunner, NixOS, OBRevenge, openSUSE, \
     2.9 + OS Elbrus, Oracle Linux, Parabola GNU/Linux-libre, Pardus, Parrot Security, PCLinuxOS, PeppermintOS, Proxmox VE, PureOS, Qubes OS, \
    2.10 +-Raspbian, Red Hat Enterprise Linux, ROSA, Sabayon, SailfishOS, Scientific Linux, Siduction, Slackware, Solus, Source Mage GNU/Linux, \
    2.11 +-SparkyLinux, SteamOS, SUSE Linux Enterprise, SwagArch, TinyCore, Trisquel, Ubuntu, Viperr, Void and Zorin OS and EndeavourOS"
    2.12 ++Raspbian, Red Hat Enterprise Linux, ROSA, Sabayon, SailfishOS, Scientific Linux, Siduction, Slackware, SliTaz, Solus, \
    2.13 ++Source Mage GNU/Linux, SparkyLinux, SteamOS, SUSE Linux Enterprise, SwagArch, TinyCore, Trisquel, Ubuntu, Viperr, Void and Zorin OS \
    2.14 ++and EndeavourOS"
    2.15 + 
    2.16 + supported_other="Dragonfly/Free/Open/Net BSD, Haiku, Mac OS X, Windows+Cygwin and Windows+MSYS2."
    2.17 + 
    2.18 +@@ -792,6 +793,9 @@
    2.19 + 						distro_release="$(awk -F'=' '/^VERSION=/ {print $2}' /etc/os-release)"
    2.20 + 					fi
    2.21 + 					;;
    2.22 ++				"SliTaz")
    2.23 ++					distro="SliTaz"
    2.24 ++					;;
    2.25 + 				"Sparky"|"SparkyLinux")
    2.26 + 					distro="SparkyLinux"
    2.27 + 					;;
    2.28 +@@ -1042,6 +1046,7 @@
    2.29 + 						distro="Dragora"
    2.30 + 						distro_more="$(cut -d, -f1 /etc/dragora-version)"
    2.31 + 					elif [ -f /etc/slackware-version ]; then distro="Slackware"
    2.32 ++					elif [ -f /etc/slitaz-release ]; then distro="SliTaz"
    2.33 + 					elif [ -f /usr/share/doc/tc/release.txt ]; then
    2.34 + 						distro="TinyCore"
    2.35 + 						distro_more="$(cat /usr/share/doc/tc/release.txt)"
    2.36 +@@ -1233,6 +1238,7 @@
    2.37 + 		scientific*) distro="Scientific Linux" ;;
    2.38 + 		siduction) distro="Siduction" ;;
    2.39 + 		slackware) distro="Slackware" ;;
    2.40 ++		slitaz) distro="SliTaz" ;;
    2.41 + 		smgl|source*mage|source*mage*gnu*linux) distro="Source Mage GNU/Linux" ;;
    2.42 + 		solus) distro="Solus" ;;
    2.43 + 		sparky|sparky*linux) distro="SparkyLinux" ;;
    2.44 +@@ -1352,6 +1358,8 @@
    2.45 + 			pkgs=$(ls -1 /var/db/pkg | wc -l) ;;
    2.46 + 		'Frugalware')
    2.47 + 			pkgs=$(pacman-g2 -Q | wc -l) ;;
    2.48 ++		'SliTaz')
    2.49 ++			pkgs=$(tazpkg list | wc -l) ;;
    2.50 + 		'Debian'|'Ubuntu'|'Mint'|'Fuduntu'|'KDE neon'|'Devuan'|'OS Elbrus'|'Raspbian'|'LMDE'|'CrunchBang'|'Peppermint'| \
    2.51 + 		'LinuxDeepin'|'Deepin'|'Kali Linux'|'Trisquel'|'elementary OS'|'gNewSense'|'BunsenLabs'|'SteamOS'|'Parrot Security'| \
    2.52 + 		'GrombyangOS'|'DesaOS'|'Zorin OS'|'Proxmox VE'|'PureOS')
    2.53 +@@ -5059,6 +5067,33 @@
    2.54 + "${c2}          ...............             %s")
    2.55 + 		;;
    2.56 + 
    2.57 ++		"#SliTaz")
    2.58 ++			if [[ "$no_color" != "1" ]]; then
    2.59 ++				c1=$(getColor 'light grey') # Light Grey
    2.60 ++			fi
    2.61 ++			if [ -n "${my_lcolor}" ]; then c1="${my_lcolor}"; fi
    2.62 ++			startline="0"
    2.63 ++			fulloutput=(                                 
    2.64 ++"${c1}              #          #  	    %s"       
    2.65 ++"${c1}             #           ##    #   %s"  
    2.66 ++"${c1}      ##   ##             ###  ##  %s" 
    2.67 ++"${c1}     ##  ###               ###  ## %s"
    2.68 ++"${c1}    ##  ###                 ##  ## %s"
    2.69 ++"${c1}   ### ####     #####      #### ###%s"
    2.70 ++"${c1}  ####  #####  #######  #####  ####%s"
    2.71 ++"${c1}   ############################    %s"
    2.72 ++"${c1}       ######################      %s"   
    2.73 ++"${c1} ################################# %s"
    2.74 ++"${c1} ##    ################ ####    ## %s"
    2.75 ++"${c1} #  ###    ############    ###  ## %s"
    2.76 ++"${c1} #  ##     ###########     ###  #  %s"
    2.77 ++"${c1} #   #     ###########     #       %s"    
    2.78 ++"${c1}            ########               %s"  
    2.79 ++"			           %s"
    2.80 ++"                                  %s"
    2.81 ++"                                  %s")  
    2.82 ++		;;
    2.83 ++
    2.84 + 		"KaOS")
    2.85 + 			if [[ "$no_color" != "1" ]]; then
    2.86 + 				c1=$(getColor 'light blue')
    2.87 +@@ -5850,7 +5885,7 @@
    2.88 + 				if [[ "$no_color" != "1" ]]; then
    2.89 + 					c1=$(getColor 'white') # White
    2.90 + 					c2=$(getColor 'dark grey') # Light Gray
    2.91 +-					c3=$(getColor 'yellow') # Light Yellow
    2.92 ++					c3=$(getColor 'light red') # Light Red
    2.93 + 				fi
    2.94 + 				if [ -n "${my_lcolor}" ]; then c1="${my_lcolor}"; c2="${my_lcolor}"; c3="${my_lcolor}"; fi
    2.95 + 				startline="0"
    2.96 +@@ -6081,7 +6116,7 @@
    2.97 + 		;;
    2.98 + 		"Ubuntu"|"FreeBSD"|"FreeBSD - Old"|"Debian"|"Raspbian"|"BSD"|"Red Hat Enterprise Linux"|"Oracle Linux"| \
    2.99 + 		"Peppermint"|"Cygwin"|"Msys"|"Fuduntu"|"Scientific Linux"|"DragonFlyBSD"|"BackTrack Linux"|"Red Star OS"| \
   2.100 +-		"SparkyLinux"|"OBRevenge"|"Source Mage GNU/Linux")
   2.101 ++		"SliTaz"|"SparkyLinux"|"OBRevenge"|"Source Mage GNU/Linux")
   2.102 + 			labelcolor=$(getColor 'light red')
   2.103 + 		;;
   2.104 + 		"ROSA"|"januslinux")