diff options
| author | Joshua Drake <joshua.ellis.drake@gmail.com> | 2023-11-08 19:36:22 -0600 | 
|---|---|---|
| committer | Joshua Drake <joshua.ellis.drake@gmail.com> | 2023-11-09 03:42:14 -0600 | 
| commit | e4e504c32c7fd3cf49a57ad18aacf00c9c9d4c47 (patch) | |
| tree | ab859ad57460c0aaff5f2ac093d99c22a3bc3e77 /sb-gpu | |
| parent | 40991f3809cdb3c39c3806d7eb6489c1f30d64de (diff) | |
Consolidated temp into one sed command to save .00001 clock cycles.
Diffstat (limited to 'sb-gpu')
| -rwxr-xr-x | sb-gpu | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -7,7 +7,7 @@ getGPUBusy() {  	echo "$GPUBusy" | cat /sys/class/drm/card1/device/gpu_busy_percent  }  getGPUTemperature() { -	echo "$GPUTemp" | grep -o "[0-9]\{2\}" /sys/class/drm/card1/device/hwmon/hwmon1/temp1_input | head -1 +	echo "$GPUTemp" | sed -n "s/000//;p" /sys/class/drm/card1/device/hwmon/hwmon1/temp1_input  }  case $BLOCK_BUTTON in | 
