+ GPU temp script for polybar config

This commit is contained in:
shockrah 2022-01-22 13:57:48 -08:00
parent 6baf6dcf5a
commit 3b2b89db01

4
gpu-temp.sh Executable file
View File

@ -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