dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

commit 77bdd4f0017f2b19761199506f5eaef657e4a363
parent b1080a6044479ba8f39c2c6dcb4757616dc3cc71
Author: pyratebeard <root@pyratebeard.net>
Date:   Fri, 21 Jul 2017 14:35:19 +0100

commented out sensor info

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

diff --git a/bin/bin/sysinfo b/bin/bin/sysinfo @@ -104,16 +104,16 @@ fi printf " \e[0;${color}m%-4s \e[1;${color}m%-5s %-25s \n" " vol" "$vol%" `draw $vol 15 $color` #█▓▒░ temperature -temp=`sensors | awk '/Core\ 0/ {gsub(/\+/,"",$3); gsub(/\..+/,"",$3) ; print $3}'` -case 1 in - $(($temp <= 50))) - color='34' - ;; - $(($temp >= 75))) - color='31' - ;; - *) - color='36' - ;; -esac -printf " \e[0;${color}m%-4s \e[1;${color}m%-5s %-25s \n\n" "temp" "$temp°c " `draw $temp 15 $color` +#temp=`sensors | awk '/Core\ 0/ {gsub(/\+/,"",$3); gsub(/\..+/,"",$3) ; print $3}'` +#case 1 in +# $(($temp <= 50))) +# color='34' +# ;; +# $(($temp >= 75))) +# color='31' +# ;; +# *) +# color='36' +# ;; +#esac +#printf " \e[0;${color}m%-4s \e[1;${color}m%-5s %-25s \n\n" "temp" "$temp°c " `draw $temp 15 $color`