From 10af684bcb10b903453fb6926e369694c402e248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Thu, 25 Mar 2021 19:07:20 +0300 Subject: Small changes * (Temporarily?) change underline cursor to block, as it is not very convenient the way it is rendered in foot. * Other changes. --- dotfiles/.local/bin/notistats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dotfiles/.local/bin/notistats') diff --git a/dotfiles/.local/bin/notistats b/dotfiles/.local/bin/notistats index 83e2f80..cd50276 100755 --- a/dotfiles/.local/bin/notistats +++ b/dotfiles/.local/bin/notistats @@ -3,7 +3,7 @@ body=$(df -h / | tail -1 | awk '{print "Free space on /:\t" $4}'; free -m | sed '2!d' | awk '{print "Memory in use:\t" $3"/"$2"MB"}'; lscpu | grep 'CPU MHz' | awk '{print "CPU clock:\t" $3"MHz"}'; -sensors | grep 'Package id 0' | sed 's/Package id 0/CPU temp/' | awk '{print $1 $2 "\t" $3}'; +sensors | grep 'Core 0' | sed 's/Core 0/CPU temp/' | awk '{print $1 $2 "\t" $3}'; sensors | grep 'fan') if [ -f /sys/class/power_supply/BAT0/uevent ]; then body=$body"\n"$(echo print\(\'BAT0 drainage:\\t{}W\'.format\($(grep 'POWER_SUPPLY_POWER_NOW' /sys/class/power_supply/BAT0/uevent | awk -F '=' '{print $2}')/1000000\)\) | python) -- cgit v1.2.3