From 3b2b89db01d0c972b66ff76ad3cf86a034c65753 Mon Sep 17 00:00:00 2001 From: shockrah Date: Sat, 22 Jan 2022 13:57:48 -0800 Subject: [PATCH] + GPU temp script for polybar config --- gpu-temp.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 gpu-temp.sh diff --git a/gpu-temp.sh b/gpu-temp.sh new file mode 100755 index 0000000..9f9569d --- /dev/null +++ b/gpu-temp.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +c_gputemp=`nvidia-smi -q | grep 'GPU Current Temp' | awk '{print $(NF-1)}'` +echo GPU Temp: $c_gputemp C