X-Git-Url: https://git.danix.xyz/?p=my-dotfiles.git;a=blobdiff_plain;f=etc%2Fprofile.d%2Fblackpearl.sh;fp=etc%2Fprofile.d%2Fblackpearl.sh;h=f4893cad2ebadb9cb9d634f5e4fe44db12df0cbb;hp=d503bf820be784c1e868fc55eb4ad8d92df51ee9;hb=6a1cebe53b6d80c79a7292997b0aaf6974572147;hpb=73f936b3211ca2196d1a488cdaf5d3cf4629c4c7 diff --git a/etc/profile.d/blackpearl.sh b/etc/profile.d/blackpearl.sh index d503bf8..f4893ca 100644 --- a/etc/profile.d/blackpearl.sh +++ b/etc/profile.d/blackpearl.sh @@ -9,7 +9,8 @@ function OUTPUT () { OS=$(cat /etc/slackware-version) LOAD=$(uptime |cut -d " " -f12-) PKGS=$(/bin/ls -1 /var/log/packages/ |wc -l) - DE=$(env |grep DESKTOP_SESSION |cut -d "/" -f5) +# DE=$(env |grep DESKTOP_SESSION |cut -d "/" -f5) + USERS=$(who -s |wc -l) # Define or colors CYAN="\e[1;36m" @@ -29,26 +30,26 @@ function OUTPUT () { echo -e "$ORANGE" - echo -e " . ${CYAN}/> /${ORANGE}" - echo -e " oW ${CYAN}/ /${ORANGE}" - echo -e " c0; .... .;cdo. ${CYAN}/ /${ORANGE}" - echo -e " ,M, .;dx. ${CYAN}/ /\t ${MAGENTA}KERNEL:\t${WHITE}$K_v - $K_ar${ORANGE}" - echo -e " xW x . .'ldc. 'Wd ${CYAN}/ /\t ${MAGENTA}PACKAGES:\t${WHITE}${PKGS}${ORANGE}" - echo -e " .Ml.d.:; .;kXo. .. ${CYAN}/ /\t ${MAGENTA}DE:\t\t${WHITE}${DE}${ORANGE}" - echo -e " .0xdxxd' ${CYAN}/ / ${ORANGE}" - echo -e " .. ${CYAN}/