dotfiles

custom dotfiles
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

commit a123492280f840679c1949015f29d29df83295f0
parent e0293035d1262a507e725405f973df5890aea0b6
Author: pyratebeard <root@pyratebeard.net>
Date:   Fri, 21 Jul 2017 14:30:08 +0100

show number of packages ready for upgrade

Diffstat:
Mbin/bin/sysinfo | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/bin/bin/sysinfo b/bin/bin/sysinfo @@ -17,6 +17,7 @@ pkgs=$(pacman -Qqs | wc -l) colors='boneyard' font='tamzen 9' wm='awesome' +upgrade=$(sudo pacman -Sy >/dev/null ; pacman -Qu | wc -l) #█▓▒░ progress bar draw() @@ -58,6 +59,7 @@ printf " \e[0m\n" printf " \e[1;33m distro \e[0m$distro\n" printf " \e[1;33m kernel \e[0m$kernel\n" printf " \e[1;33m packages \e[0m$pkgs\n" +printf " \e[1;33m upgrade \e[0m$upgrade\n" printf " \e[1;33m wm \e[0m$wm\n" printf " \e[1;33m font \e[0m$font\n" printf " \e[1;33m colors \e[0m$colors\n"