5 lines
211 B
Bash
Executable File
5 lines
211 B
Bash
Executable File
#!/bin/bash
|
|
print_temp(){
|
|
echo -e "🔥 $(sensors | awk '/Core 0/ {print int($3)"°C"}') $(sudo nvidia-smi -q -d temperature | grep --color=no -i "GPU Current" |egrep --color=no -o '[0-9]*')°C"
|
|
}
|
|
print_temp |