From 904b8971d5e427ad93da02a3929e935be44820bb Mon Sep 17 00:00:00 2001 From: shockrah Date: Fri, 22 May 2020 13:35:13 -0700 Subject: [PATCH] new color on ./distro and stat current brightness on ./bright --- bright | 3 ++- distro | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/bright b/bright index 7eedea8..54f43c1 100755 --- a/bright +++ b/bright @@ -12,7 +12,8 @@ then fi # Changes brightness through dmenu (because i like my eyes) -level=`seq 1 100 | dmenu -i -p 'Brightnesss from 1-100'` +current="`xrandr --verbose | grep Brightness | head -1 | awk '{print $2}'`" +level=`seq 1 100 | dmenu -i -p "($current) Brightnesss from 1-100"` if [ -z "$level" ]; then exit; fi percentage=`echo "scale=2;" "$level/100" | bc -l` diff --git a/distro b/distro index cbcd144..8affde2 100755 --- a/distro +++ b/distro @@ -2,7 +2,8 @@ # Wanna look cool in desktop threads? here you go red='\033[1;31m' -green='\033[0;32m' +pink='\033[1;95m' +green='\033[1;32m' white='\033[1;37m' nc='\033[0m' clear @@ -35,7 +36,7 @@ o88888"888"88o. "8888"".88 .oo888oo.. # Now some diagnostic shit idk man #echo "Packages installed: ${red}`dpkg --get-selections | grep -v deinstall | wc -l`${nc} echo "Distro: ${green}`uname -v | awk '{print $3}'`${nc} -Kernel: ${red}`uname -r` ${nc} +Kernel: ${pink}`uname -r` ${nc} System: ${white}`uname -o`(duh)${nc}" echo "=|:^) Art: https://www.asciiart.eu/plants/flowers =|:^)"