diff options
author | Joshua Drake <joshua.ellis.drake@gmail.com> | 2023-11-09 03:45:58 -0600 |
---|---|---|
committer | Joshua Drake <joshua.ellis.drake@gmail.com> | 2023-11-09 03:45:58 -0600 |
commit | 9f6592813bfc8edb282c549070eb6e1aff838f91 (patch) | |
tree | 3962022f55be29304b9e8e0e2ec71e4660dd10a1 | |
parent | d946ae0ac3755d912a21792109b9dd4ac79e0841 (diff) |
Further simplification.
-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" | sed -n "s/000//;p" /sys/class/drm/card1/device/hwmon/hwmon1/temp1_input + echo "$GPUTemp" | sed "s/000//" /sys/class/drm/card1/device/hwmon/hwmon1/temp1_input } case $BLOCK_BUTTON in |