From 360a02f99e86cba9292138dc664aca67daeb896c Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Mon, 6 Apr 2020 16:39:15 +0530 Subject: why tho --- bin/.local/bin/fetch | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'bin') diff --git a/bin/.local/bin/fetch b/bin/.local/bin/fetch index 93d7fc7..05cb71e 100755 --- a/bin/.local/bin/fetch +++ b/bin/.local/bin/fetch @@ -1,15 +1,15 @@ #!/bin/sh # -# ufetch-gentoo - tiny system info for gentoo +# ufetch-void - tiny system info for void ## INFO # user is already defined host="$(hostname)" -os='Gentoo Linux' +os='Void Linux' kernel="$(uname -sr)" uptime="$(uptime -p | sed 's/up //')" -packages="$(ls -d /var/db/pkg/*/* | wc -l)" +packages="$(xbps-query -l | wc -l)" shell="$(basename "$SHELL")" ## UI DETECTION @@ -54,23 +54,23 @@ if [ -x "$(command -v tput)" ]; then fi # you can change these -lc="${reset}${bold}${magenta}" # labels -nc="${reset}${bold}${magenta}" # user and hostname +lc="${reset}${bold}${green}" # labels +nc="${reset}${bold}${green}" # user and hostname ic="${reset}" # info -c0="${reset}${bold}${magenta}" # first color -c1="${reset}${magenta}" # second color +c0="${reset}${bold}${green}" # first color +c1="${reset}${green}" # second color ## OUTPUT cat <