fetch

MSYS2-compatible system info prompt
git clone https://git.torresjrjr.com/fetch.git
Log | Files | Refs | README | LICENSE

commit 0cd35b6d9a0a752d338b29c50c64ce70c07ebd15
parent ab8942c1afca6f01f79d2c1f49486af2fa30476f
Author: Byron Torres <b@torresjrjr.com>
Date:   Wed, 18 Aug 2021 00:12:01 +0100

Make colors bold, adjust formatters

Diffstat:
Mfetch | 13++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/fetch b/fetch @@ -72,7 +72,7 @@ _tmux() { printf "$1" "${tmux_sessions:---}" } _palette() { - printf "\e[7m$c1 $c2 $c3 $c4 $c5 $c6 \e[m\n" + printf "$rv$c1 $c2 $c3 $c4 $c5 $c6 $c0\n" } @@ -88,11 +88,14 @@ config() { formatters() { c0='\x1b[0m' - c1='\x1b[31m'; c2='\x1b[32m' - c3='\x1b[33m'; c4='\x1b[34m' - c5='\x1b[35m'; c6='\x1b[36m' - c7='\x1b[37m'; c8='\x1b[38m' + + c1='\x1b[1;31m'; c2='\x1b[1;32m' + c3='\x1b[1;33m'; c4='\x1b[1;34m' + c5='\x1b[1;35m'; c6='\x1b[1;36m' + c7='\x1b[1;37m'; c8='\x1b[1;38m' + ul='\x1b[4m' + rv='\x1b[7m' }