dotfiles/.config/polybar/scripts/gpu_temp.sh

3 lines
92 B
Bash
Executable file

#! /usr/bin/bash
nvidia-smi -q -d TEMPERATURE | grep "GPU Current Temp" | awk '{print $5}'