From 41d182f481d7fe0b856cad03f58e5cce53a8d6e0 Mon Sep 17 00:00:00 2001 From: TiynGER Date: Tue, 17 Oct 2023 05:25:40 +0200 Subject: [PATCH] statusbar: adjusted cpu script for intel --- .local/bin/tools/statusbar/cpu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/tools/statusbar/cpu b/.local/bin/tools/statusbar/cpu index 8fef4e0..4f87915 100755 --- a/.local/bin/tools/statusbar/cpu +++ b/.local/bin/tools/statusbar/cpu @@ -5,7 +5,7 @@ icon="^b#282828^^c#dfdfdf^  ^d^ " if [ "$1" = "amd" ]; then temp=$(sensors | awk '/Tctl/ {print $2}') elif [ "$1" = "intel" ]; then - temp=$(sensors | awk '/Tctl/ {print $3}') + temp=$(sensors | awk '/Package id 0/ {print $4}') fi temp=$(printf %3s $(echo ${temp##*+} | sed "s/\..*//") | tr ' ' ' ')