summaryrefslogtreecommitdiff
path: root/sb-gpu
diff options
context:
space:
mode:
authorJoshua Drake <joshua.ellis.drake@gmail.com>2023-11-09 03:45:58 -0600
committerJoshua Drake <joshua.ellis.drake@gmail.com>2023-11-09 03:45:58 -0600
commit9f6592813bfc8edb282c549070eb6e1aff838f91 (patch)
tree3962022f55be29304b9e8e0e2ec71e4660dd10a1 /sb-gpu
parentd946ae0ac3755d912a21792109b9dd4ac79e0841 (diff)
Further simplification.
Diffstat (limited to 'sb-gpu')
-rwxr-xr-xsb-gpu2
1 files changed, 1 insertions, 1 deletions
diff --git a/sb-gpu b/sb-gpu
index 75a493a..8e27da1 100755
--- a/sb-gpu
+++ b/sb-gpu
@@ -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