From bb09789e8754771839d914da8578d49e26b6e0ad Mon Sep 17 00:00:00 2001 From: q3aql Date: Sun, 11 May 2025 10:23:12 +0200 Subject: [PATCH] Fix gpu_info --- .config/conky/scripts/gpu_info.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/conky/scripts/gpu_info.sh b/.config/conky/scripts/gpu_info.sh index 58f33dd..5f1e411 100755 --- a/.config/conky/scripts/gpu_info.sh +++ b/.config/conky/scripts/gpu_info.sh @@ -6,10 +6,10 @@ if [ -z "${check_sensor}" ] ; then if [ -z "${check_sensor}" ] ; then echo "N/A°C" else - TEMP=$(sensors | grep 'Package id 0:\|edge' | grep ':[ ]*+[0-9]*.[0-9]*°C' -o | grep '+[0-9]*.[0-9]*°C' -o) + TEMP=$(sensors | grep 'Package id 0:\|junction' | grep ':[ ]*+[0-9]*.[0-9]*°C' -o | grep '+[0-9]*.[0-9]*°C' -o) echo "$TEMP" fi else - TEMP=$(sensors | grep 'Package id 0:\|junction' | grep ':[ ]*+[0-9]*.[0-9]*°C' -o | grep '+[0-9]*.[0-9]*°C' -o) + TEMP=$(sensors | grep 'Package id 0:\|edge' | grep ':[ ]*+[0-9]*.[0-9]*°C' -o | grep '+[0-9]*.[0-9]*°C' -o) echo "$TEMP" fi