summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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