From e56bfb92b9cfa1df09a0cfe4e5741813205e325b Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 17 Dec 2019 14:08:56 +0000 Subject: [PATCH] yfix slow bug --- screenfetch-dev | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/screenfetch-dev b/screenfetch-dev index ac04dd4..43d3d3c 100755 --- a/screenfetch-dev +++ b/screenfetch-dev @@ -1375,7 +1375,8 @@ detectpkgs () { 'Evolve OS') pkgs=$(pisi list-installed | wc -l) ;; 'Sulin') - pkgs=$(inary li | wc -l) ;; + #alternative method : (inary li | wc -l) + pkgs=$(ls /var/lib/inary/package/ | wc -l) ;; 'Solus') pkgs=$(eopkg list-installed | wc -l) ;; 'Source Mage GNU/Linux') @@ -5533,7 +5534,7 @@ asciiText () { "Sulin") if [[ "$no_color" != "1" ]]; then - c1=$(getColor 'light gray') # Light Yellow + c1=$(getColor 'light gray') # Light GRAY fi if [ -n "${my_lcolor}" ]; then c1="${my_lcolor}"; fi startline="1"